Problem 3 [10 points] a. [5 points] Write an instruction sequence to add the 4-digit BCD numbers stored at $1000-$1001 a
Posted: Fri Jul 08, 2022 6:21 am
Problem 3 [10 points] a. [5 points] Write an instruction sequence to add the 4-digit BCD numbers stored at $1000-$1001 and $1002-$1003 and store the sum at $1010-$1011. Entry: ; your instructions go here b. [5 points] Find the values of the condition flags N, Z, V, and C in the CCR register after each of the following instructions independently, given that [A] = $FF and the initial conditions flags are N=0, C=0, Z=1, and V=0. 1. ADDA #1 2. ASRA