Write a program segment to do the following:
“If bit 3 of Accumulator A is 1 go to location $1234 and continue execution from that location
otherwise goto location $4321 and continue execution from that location”
Content of Accumulator A should remain unchanged. This program segment maybe in any place in the memory. Use at most five instructions.
This is my homework. But I don't know how to get to the desired location and continue .
“If bit 3 of Accumulator A is 1 go to location $1234 and continue execution from that location
otherwise goto location $4321 and continue execution from that location”
Content of Accumulator A should remain unchanged. This program segment maybe in any place in the memory. Use at most five instructions.
This is my homework. But I don't know how to get to the desired location and continue .