Question: 1 ) While it is true that an instruction with direct addressing can only access data numbers at addresses in the range from 0 0

1) While it is true that an instruction with direct addressing can only access data numbers at
addresses in the range from 0000 to 00FF, is it true that the instruction must also be within this
address range?
2) Is the offset in an instruction with indexed addressing interpreted as an unsigned number or a
(signed) twos complement number?
3) What is the addressing mode of an instruction that contains a constant data number within the
instruction code?
4) When a double-byte data number is stored in memory, is the high byte placed at the higher or
lower of the two addresses?
5) What single instruction will set, without affecting any other condition code bits, the C bit? The
N bit?
ECET 2570 Spring 2024
Homework 042 of 2
6) What is the machine code for a single instruction that undoubtedly puts zero in the B
accumulator (two answers!), and another instruction that puts zero into memory location
C221?
7) Write a program module to exchange the numbers in the A and B accumulators.
8) Consider a BRA opcode at location $30E5.
a. Where will the MPU go if the offset is $57?
b. Where will the MPU go if the offset is $83?
c. What offset is required to branch to location $3100?
d. What offset is required to branch to location $30B3?
e. What range of addresses could be branched to from $30E5?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!