im currently trying to load values of an array, push them onto the stack but im having some issues.
I have the following code (Using EASY68K:
ORG $8000
START:
LEA $9100,sp
MOVE #array,-(sp)
ORG $9000
array DC.B '1,2,3,4,5,6',0
sum DS.L 1
When I try to move the the top of my stack, with
MOVE.B (sp),D1
I get 60, but shouldnt it be 06? Another issue is when I do
MOVE.B 2(sp),D1
I get FF, instead of the next number, which I expect to be 05.