2,889 Topics
![]() | |
hi all, i've searched everywhere on the net but i couldn't find. anyone can help me for this? I have an exam on monday. q1 : with pic16F877 and assembly codes, maze solving robot's program and circuit q2 : with pic16F877 and microcontroller, bicycle's speed program and circuit thank you … | |
Hello, I'm working on a C++ application that executes binary files, so I'm using NASM to create them. Example: [CODE] org 0 ; I don't know this value yet start: jmp start [/CODE] Since I will execute that code later, I don't know the start address (ORG) at this time. … | |
Hi, I have been trying to write a simple Hello World boot loader using assembly language. I tried my first program to print a character 'A' on the screen by writing to the VDU memory. The code is as shouwn below : entry start start: mov ax,#0xb800 mov es,ax seg … | |
hi, I have a very weird question and since i cant find the answer to it even after surfing ALOT, i HAD to ask for your help... i have created an OS of my own... everything is complete... the bootstrap loader is done, the kernel (16-bit, monolithic and segmented - … | |
[B]Hello Everybody, I need a source code how to multiply 1 integer number to 1 float number? INT * Float as 2*22.5=45[/B] | |
hey,all of you.do you know how to make self-learning remote control car.For example if i control the car using remote control and let it move to 1 track or 1 around.when i press a switch ,it will follow back the previous track that i control without controlling by user.The problem … | |
I am trying to construct a 2 way paging with PIC Basic and two types of microcontrollers PIC16LF84A and PIC16F88. I have two parts of my system, a sensor node and a transponder. The sensor node has a 434 MHz transmitter (TLP-434) and a 315 MHz (TLP-315) receiver(RLP-315). The transponder … | |
Hey I'm learning assembly (low level only for now) on my linuxbox. Could someone convert the following c++ to asm(low level) so i can learn how to do math operations? #include <iostream> using namespace std; int main() { int a = 10; int b = 12; cout<<a+b<<endl; } Of course … | |
1. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS TO CONVERT THE BINARY STRING IN X TO AN UNSIGNED INTEGER AND SAVE IT IN Y. X BYTE "10110011" Y DWORD ? 2. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS TO COUNT THE NUMBER OF 1'S IN X AND SAVE IT IN … | |
Hi guys..i've been cracking my head for the past few days, i can't seem to print out the result of my multiplication..I'm using MASM615..Can anyone give me some pointers ? [CODE].MODEL MEDIUM .STACK .DATA ;================================== ONE DW 04DEH ; First signed number A = (-79H) = FF87H (2'Compliment form) TWO … | |
hi guys, im having a problem with my homework regarding assembly, to be more precise, programming for the microchip pic16 series. heres the thing, im really a noob and i dont figure it out at all, i have this homework so please if someone knows to solve it or if … | |
Hello all! I'm new here I was looking through a program and I was wondering what this instruction is: [CODE]LEA EAX,DWORD PTR SS:[EBP-34][/CODE] I know that LEA moves the offset of the second argument into EAX but I don't understand the segund argument very much: [CODE]DWORD PTR SS:[EBP-34][/CODE] I'm guessing … | |
Ok so I am interested in learning some assembly so that I can create programs for my windows xp operating system. I have looked through some tutorials and the one on here but I am still lost on what to do to get started. Could someone hook me up with … | |
Is there anyone who knows how to locate the file pointer and display its value? I am currently doing an assembly program that searches for a string in a given file and returns its offset from the beginning of the file. For example, the display would be "string found at … | |
I need a screen saver by assembly language. please help me | |
Today when I do some assembly in vista, I find that the masm does not support it.Who can tell me the right edition can suport vista? | |
pushl $3 pushl $2 call power addl $8, %esp pushl %eax pushl $2 pushl $5 call power addl $8, %esp where shall save the return value of function power after it`s second calling , i mean probably in %eax , but shall be overwritten the old value of %eax or … | |
firstly hi everyone. i made a calculator using mips assembly but it works with integer numbers. a normal calculator must be work with double or float numbers. i seek for it on the internet but i cant find how to use float double numbers in mips. finally i ask ,does … | |
can you tell me do they differ a lot ? | |
Hi u was just studying about register in the cpu and surfed the net to see their defenition and try to understand their purpose. However it turned out that some of the results were a little bit complicated and with difficult english. Related registers : Segment Index Stack thanks for … | |
Ok, so far i have 2 strings inputed from keyboars into stringA and stringB, defined as db now i need to count how many times is string B appearing in A and output that number. Max lenght of strings is 29. I think it should be done in 2 loop, … | |
Hello, I'm fairly new to programming, with little knowledge of assembly languages. I had a quick question on a program I am working on. I have to use LC3 to make a simple calculator. I have everything down, I just can't for the life of me figure out how to … | |
hello guys i need an assembly code program witch is calculator that can calculate 4 main operation( +, -, * , / ) and work for floating numbers . thank u if you reply me:) | |
Hi guys ! I'm currently reading "Programming Ground Up" by Jonathan Bartlett ([URL="http://www.amazon.com/Programming-Ground-Up-Jonathan-Bartlett/dp/0975283847/ref=sr_1_1?ie=UTF8&s=books&qid=1211474405&sr=8-1"]Amazon[/URL], [URL="http://savannah.nongnu.org/projects/pgubook/"]Book's page[/URL], [URL="http://download.savannah.gnu.org/releases/pgubook/"]Download Book[/URL]) The program toupper.s in Chapter 5 frustrates me to some extent :-) It's working fine, no problem. But There's a certain part, I just don't understand. Where does the computer know to start … | |
Hey there! I had to write a programme for MIPS/SPIM, which reads floating point numbers and returns them bit by bit at the shell. So this is, what I managed to write: [CODE].data var1: .float 0.00 var2: .float 2.0 var3: .float -0.123 txt2: .asciiz "\n" .text main: addi $sp, $sp, … | |
My bootsector is meant to print something - it does, but wierd characters follow it? e.g the spades symbol [code] ; Boot.Asm ; Tell the compiler that this is offset 0 - it isn't offset 0, but it will be after the jump. [ORG 0] jmp 07C0h:start ; Goto segment … | |
I am taking an Assembly language class. I have a project to allow the user to enter some text and then store it in a specific memory. I have the code to allow the user to enter text, but it keeps putting it in the wrong place. How do I … | |
i m trying to reengineering of poject..can any one help in doing this....this project is an automation project...in which several machine is handle by a program... plz help me in doing this n share ur thoughts or u hav any software to co0nvert this plz send me | |
Hi Guys i want to implement iir filter in assembly in c64x processor. preferably fixed point algorithm. Here is the c code of iir filter which i have written. [code=c] #include<stdio.h> void main() { float ip1_seq[10]={1,1,1,1}; float b[10]={0.049,0.074,0.105,0.074,0.049},a[10]={-1.715,1.726,-0.85,0.195}; int len_ip=4,al=5,bl=5; int n,k,i,len_seq=0; float op_seq[10]={0},op1_seq[10]={0},op2_seq[10]={0}; len_seq=al; if(al!=bl) len_seq=(al<bl)?bl:al; if(len_seq!=len_ip) len_seq=(len_seq<len_ip)?len_ip:len_seq; for(i=len_ip;i<len_seq;i++)//padding … | |
the assignment is: Create a macro named mWriteNumber that writes a signed integer to the console output. Use the WriteInt procedure in the Irvine32 library. The argument passed to the macro can be a byte, word, or doubleword. Use conditional oeprators so that the macro adapts to the different sizes … | |
Hi .. I am porting an audio codec on to MIPS processor... Can u give me the better optimization techniques in MIPS. I am using MIPS 24Kec (Release 2).... | |
Once again I have found myself stuck on another problem in assembly langauge because it owns me. I am trying to write a program that uses the Bubble sort algorithm but to make things challenging I am required to use Local Variable. And that must be based off of this … | |
I'm trying to translate the following code from C++ into Asembly language but am having trouble. I know that I have to make a cmp and one or more jmp. If any1 has sugguestions or tips thats great. Here's the C++ coding: [CODE] int x = 1 * 2; int … | |
Welcome I have small project but I can't understand it. I hope from the members help me in this. thank you -------------------------------------------------------- Q: Problem: You’re writing code for an embedded processor for automobile safety. In the final system the car speed will be detected automatically, but in your sample program … | |
Hello If I add two numbers say, 5 and 5 to equal 10 . I can see from the screen dump that d0 contains A How do I go about converting A so as to display the number 10 on the screen? I guess I have to convert to ascii … | |
Hi everybody I have a couple of questions on assembly language. 1) what is assembly language? 2) what is assembly language used for in the programming world? 3) why is assembly language used? Thanks | |
I have the encrypting code for a ROT-13 simulator for the LC 3. If anyone has any input or ideas, let me know, please. Thanks | |
I know I posted a previous post and a person stated I should read How to Design Programs. However, I was told the following link would be a better choice to start off with. [url]http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html[/url] My question is: Is this a good resource for a beginner. | |
I'm doing the following microprocessor assignment (no, I won't ask you to do it for me). [CODE]Time Delay: Write a program, which will cause a time delay of N seconds. The number N must be picked up from a memory location. The time delay must be 2N if the number … | |
[CODE] string: .space 40 [/CODE] It is changed each time I loop through the program and I need to clear it at the beginning of each loop or else characters will be added on each time I loop. Is there a command for this? | |
Does anybody ever succeed writing USB device from DOS ? Thx for a reply | |
Hi everyone, this is the second time i put a post here , i want to write a code for a game in assembly MSAM, the game is the a letter appear in the screen and the child or the player should press the letter which they see by the … | |
Can you tell me what needs to be changed in the program in order to run? Thank you. [CODE].model small .386 .stack 100h .data .code decimal proc near ;print out number given in AX in decimal xor eax,eax xor ebx,ebx mov cx,2 ;this is to accept the base and the … | |
Hi guys i need to write a program that reads a line from the user and then searches and counts the number of alphabet letters in it and the number of any one punctuation. i figured out how to go through the list of all uppercase and lowercase letters and … | |
[B]Anyone can guide me or send me links, or whatever helpful with the following project? Thank you[/B] Materialise in symbolic language (assembly- MIPS) and execute in the SPIM, a program that would process unsigned integer numbers of 64 bit. Each moment the program maintains stored the two unsigned integer (64 … | |
hello, i have a problem in my assembly program. i have a problem with open and create files. in my program i always open and create a new files ,but after 5-6 open\create ,the program stop working. i think the problem is that my file handle is not available (after … | |
:) Hi! I'm Tu and I live in VietNam, I have a assignment about Interrupt 10h and functions of interrupt 10h, I to be hard-pressed in Int 10 function 10h, who can help me know, please ? | |
Hello all, I have tried vigoriously and cannot find out what this means, this homework is due tommorow and i need major help, basicalyl what we have to do is write an ascii table which pops up on the screen, i have this code thus far but i get the … | |
Hi folks Not sure if I’m in the right forum for this question but here I go anyway (sure I’ll get pointed in the right direction if I’m not). I’m doing a course , of which one of the subjects is micro processors(PIC16F877), I’ve really taken to it and decided … | |
hi i need sample code to create empty vsam files and allocate data through assembler programmers ,please help me i need it urgently . Regards Prriya |
The End.