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
I need a division subroutine. Asks for two inputs, then displays the inputs and shows the answer with a remainder. Mine isnt displaying the inputs correctly.

PTR : Pointer:- The pointer operator which is used to declare the type of a variable, label or memory operand. The operator PTR is prefixed by either WORD or BYTE. If the prefi

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

Port Mapped I/O or I/O Mapped I/O I/O devices are mapped into a separate address space. This is generally accomplished by having a different set of signal lines to denote a mem

Cache controller The cache controller is the mind of the cache.  Its responsibilities include:  performing the  snarfs and snoops, updating the  TRAM  and SRAM and implementing

#include"lcd.asm"       ; assembly file is included for displaying lcd characters Main: PORTA EQU 0xF80  ; PORTS PORTB EQU 0xF81 PORTC EQU 0xF82 PORTD EQU 0xF83 R

Hand shaking : Handshaking, or 2-way handshaking, is 1 type of strobe operation. It typically involves 2 handshaking lines: an output line to denote when the board is ready an

How to print strings in Right Triangle form?

Write a program that allows a user to encrypt/decrypt a message using a shift cipher. The user should specify the key and the message. Your program should be able to handle messa

Signal descriptions of 8086 : described below are common for the maximum andminimum mode bothdata lines AD15 -AD0: These are the time multiplexed andmemory I/O address. Addre