Embedded System

profileh2o

EECE 237 Embedded System Development Spring 2015 Section-3

 

Multiply the Number 0x 00000DBF by Decimal 9 using shift instruction consider the result Minuend. Divide 0x00000CD8 by Decimal 4 by shift instruction and consider the result Subtrahend. Subtract subtrahend from Minuend using 2's compliment method. Store the Result at 5 Bytes offset in the memory. DO NOT USE SUB, MUL INSTRUCTIONS. Use only unsigned numbers. Declare Numbers as a Global variable. 1) Save the Screen after Translate, Built ,Rebuilt and showing program code.2) Save the screen after Debug, Run, Stop showing the result in registers and stored result at the bottom in RAM . Email the saved screens. SUBMIT '.s' FILE OF THE CODE ALSO

    • 11 years ago
    • 20
    Answer(0)
    Bids(0)