{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw4_solution_4 - 01000101 10111100 1 00000001 Z=0 V=0 N=0...

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

View Full Document Right Arrow Icon
ECE331 SS-08 HOMEWORK #4 Solution Problems from the textbook Chapter 2: Fundamental: 2. STAB $23, STAB #0023 3. X register must contain $7000 4. CPD #1234 8. Acc. A contains $00, Z=1, N=0, C=1, H=0 14. LDD #$2000 - Immediate addressing mode LDD $2000 – Extended Addressing mode Advanced: 2. $44 (%01000100) in 2’s complement form = 10111100
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 01000101 + 10111100 ------------- 1 00000001 Z=0, V=0, N=0, C=0 Therefore, BGE – Taken, BNE – Taken, BLT- Not taken, BHS - Taken, BLE - Not taken 8. Challenging: 2. Use indexed addressing as it provides a convenient way to step through the address of each table element. You can step by auto-incrementing or by using INX instruction....
View Full Document

{[ snackBarMessage ]}