This preview shows page 1. Sign up to view the full content.
Unformatted text preview: b. LDX $150C Loads index register X with 16-bit value from memory location $150C. N and Z flags are updated and V flag is cleared. c. STAB $2C5D Stores the contents of accumulator B at memory location $2C5D. N and Z flags are updated and V flag is cleared. d. SUBA $3000 Subtract the 8-bit contents of memory location $3000 from accumulator A. Updates N, Z, V, C flags. 4. Determine the C flag value after the following operations are executed by the CPU. Assume that accumulators A and B contain $57 and $AE respectively. a. C = 1 b. C = 1 c. C = 0 d. C = 1...
View Full Document
- Spring '08