Page 1 of 1

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
by answerhappygod
Problem 3 10 Points A 5 Points Write An Instruction Sequence To Add The 4 Digit Bcd Numbers Stored At 1000 1001 A 1
Problem 3 10 Points A 5 Points Write An Instruction Sequence To Add The 4 Digit Bcd Numbers Stored At 1000 1001 A 1 (35.81 KiB) Viewed 43 times
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