- 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 41 times
Problem 3 [10 points] a. [5 points] Write an instruction sequence to add the 4-digit BCD numbers stored at $1000-$1001 a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Problem 3 [10 points] a. [5 points] Write an instruction sequence to add the 4-digit BCD numbers stored at $1000-$1001 a
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