English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Write instructions to load two unsigned numbers in register B and C, respectively subtract C from B. If the result is in two's complement convert the result in absolute magnitude and store it in a memory location, otherwise store the position result. Execute the program with the following sets of data:

Set 1: B = 42 C = 69
Set 2: B = 69 C = 42
Set 3: B = F8 C = 23

How do I set this up?

2006-10-10 01:20:39 · 1 answers · asked by cablreel 1 in Computers & Internet Programming & Design

1 answers

loadb 42
loadc 69
loadx
subx

and the same for the other sets

2006-10-11 16:49:05 · answer #1 · answered by more_evil_then_santa 6 · 0 0

fedest.com, questions and answers