I have a small question:
I have a subroutine that receives a letter (let's say "A"
) from the stack, and I want to jump to a label with the same name.
For example:
main: mov -(sp), r1
br r1
A: mov r0,@#tpb
r1
will hold the value "A"
which he got from the stack.
then I want it to branch into label "A"
.
Thanks.