This preview shows page 1. Sign up to view the full content.
Unformatted text preview: a) The low byte of the address of myVal c) 0x0000 b) The byte stored at address labeled myVal d) No way to determine 3) What does this assembler code segment do? MOV #5, R5 MOV #10h, R6 CLR R7 top ADD R6, R7 DEC R5 CMP #0,R5 JNZ top multiplies 10h by 5 by adding 10h + 10h + 10h + 10h + 10h in a loop 4) What is the final value of R7 in the code the above? a) 0x0000 b) 10h c) 50h d) Can not be determined...
View Full Document
This note was uploaded on 01/24/2009 for the course ECE 2801 taught by Professor Jarvis during the Spring '08 term at WPI.
- Spring '08