hello,
i'm using 89c51 to interface with at88sc1608 for smart card reader
and i'm new to C language i want to define stack pointer for 32 location
and some variables like array of 8 bytes like in assembly
atrbuf equ 68h
atrptr equ 70h
trcbuf equ 78h
recptr equ 7fh
these are the indirectely assesible location how i can declare these in C and
push acc
push psw
push b
and
mov r0,#68h
here:
clr a
mov @r0,a
inc r0
mov a,r0
cjne a,#c6h,here
hoe i can convert this into C