Question: Write a program to unpack two characters from location WRD and store them in bits 0 through 7 of locations CH1 and CH2. Bits 9
Write a program to unpack two characters from location WRD and store them in bits 0 through 7 of locations CH1 and CH2. Bits 9 through 15 should contain zeros.

Symbol Hexa code AND 0 or 8 ADD LDA STA BUN BSA ISZ CLA CLE CMA 7200 CME 7100 7080 7040 7020 SPA 7010 SNA 7008 CIR CIL INC SZA SZE HLT 1 or 9 2 or A 3 or B 4 or C 5 or D 6 or E 7800 7400 SKI SKO ION IOF 7004 7002 INP OUT F400 7001 F800 F200 F100 F080 F040 Description AND M to AC m: effective address M: memory word (operand) at m branch to m+1 Add M to AC, carry to E Load AC from M Store AC in M Branch unconditionally to m Save return address in m and Increment M and skip if zero Clear AC Clear E Complement AC Complement E Circulate right E and AC Circulate left E and AC Increment AC, carry to E Skip if AC is positive Skip if AC is negative Skip if AC is zero Skip if E is zero Halt computer Input information and clear flag Output information and clear flag Skip if input flag is on Skip if output flag is on Turn interrupt on Turn interrupt off
Step by Step Solution
3.41 Rating (151 Votes )
There are 3 Steps involved in it
LDA WRD Load the word from location WRD into the accumulatorAND 00... View full answer
Get step-by-step solutions from verified subject matter experts
