Purpose: The purpose of this assignment is to enhance students' understanding of
addressing modes and basic Motorola 6800 assembly language programming.
1) Write an assembly program which computes the following formula, and writes the
result to memory:
z = (x + 5)*9 - 16y
The value of x should be read from 90H, y from 91H, and the value of z should be
stored into 93H. You are free to use other memory locations for intermediate results.
Try to keep your code short by taking advantage of shift operation.
You are not allowed to use the following instructions for this question: SBA, SBCA,
SBCB, SUBA, SUBB.
Hint: You can think of a - b as a + (-b).