Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

89c51 problem

Status
Not open for further replies.

esconele

New Member
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
 
Sample Code For At88sc1608

Hello,
Any One Having Samle Program For At88sc1608 In C Pls Send Me The Link Or Any One Having Idea Aboute It Pls. Reply.
Thank You.
 
Status
Not open for further replies.

Latest threads

Back
Top