Quiz 4-solution - b) what hardware change occurs with this...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Quiz 4 ECE 331 Spring 2009 1. Given REGISTER VALUE DATA MEM. ADDR. A AA 12 0010 B BB 20 0011 X 0100 02 0100 Y 0200 00 0101 00 0200 10 0201 What happens when LDAB [0100,X] is executed? changed register/memory_location __ accB _____, new value _ $12 ___ 2. Consider the instruction BRA $10 a) how does this affect program flow? program advances ahead by 16 bytes worth of instructions
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: b) what hardware change occurs with this instruction? PC PC + 16 3. What address mode is used with branch instructions ? relative 4. Briefly describe what the following directives do ORG sets memory orgin of program code EQU assigned a value to a variable/label END specifies the end of a program...
View Full Document

This note was uploaded on 09/29/2009 for the course ECE 331 taught by Professor M.shanblatt during the Spring '08 term at Michigan State University.

Ask a homework question - tutors are online