now before i begin, i am newbie to programming. i've never taken any typ of programming and i am in assembler language class. we're studyin motorola 6800 and ran into a question
the profesor tells us that when using such commands as bsr,rts, and movem the stack pointer value will change. he also tells that we have t subtract the offset value from the current stack pointer value to get th current value of the stack pointer.
is that true or is he mistaken? because i would think that you would hav to add the offset value.
for example in command movem d0-d5/d7/a0-a3, since there are 44 byte involved, the new stack pointer value would be 102C, i would think
44, converted into hex is 2C and 1000+2C= 102C