arithmrtic operation exercise assempley HELP!, Assembly Language

Open notepad and enter the code for a program that calculates the following arithmetic expression:
x = a + b + c - d - e + f
The operands a, b, c, d, e, f, and x should be declared as words. Give random values to a, b, c, d, e, and f in order to test the program. Load the data onto registers, perform the arithmetic operations and store the result to the memory location reserved for x.
.data
#enter your data here

.text
main: #enter your code here

addi $v0, $0, 10 #exit program
syscall

Posted Date: 10/25/2012 2:05:04 PM | Location : United States







Related Discussions:- arithmrtic operation exercise assempley HELP!, Assignment Help, Ask Question on arithmrtic operation exercise assempley HELP!, Get Answer, Expert's Help, arithmrtic operation exercise assempley HELP! Discussions

Write discussion on arithmrtic operation exercise assempley HELP!
Your posts are moderated
Related Questions
Programming with an assembler The procedure of hand-coding 8086 programs is somewhat tiresome; hence generally a programmer may find it hard to get a correct listing of the mac

Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register?

Segment Registers The 8086 addresses a segmented memory unlike 8085. The complete 1 megabyte memory, which 8086 is capable to address is divided into 16 logical segments.Thusea


what is the hex value in ax after executing the instructions ax= 1E8A bx=4080 add al,bl sub ah,bh

errorlevel -302 ;prevents error code for this chipset __config 0x373A ;chip config PIC spec page 146 processor 16F877A ;chipset reset code

RISC Characteristics : The  concept  of  RISC  architecture  include  an  attempt  to  reduce  execution  time  by make  simple  the instruction set of the computer. The main c

1 st Generation Microprocessor : At the end of the 70s a group of engineers developed a chip is able to processing data. This chip was called processor chip. Big processors w

what will be the value of EAX after following instructions execute? mov bx, 0FFFFh and bx, 6Bh

8254 Programmable Timer A diagram of Intel's 8254 interval event/timer counter is given in Figure. The 8254 consists of 3 identical counting circuits, per of which has GATE and