Need to program 8051 in Assembly language

Status
Not open for further replies.

vamshikrishnam

Newbie level 2
Joined
Feb 7, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
program based on 8051 assembly language

hi iam a novice in microcontroller programming. Can any one help me out how to
start programming one. I used to program it using C language but want to learn the assembly level coding....
i require the following details
1. how to declare a port pin example P1.1
2. What are the segments like code, data etc

please help me out please
 

port - assembly language program in 8051

This should help.
 

status of microcontroller 8051in 2009

Thankyou... iam getting an error when i use the following statement

SETB P1.1

error is "Undefined Symbol (PASS -2) P1.1

I am using Ride software
 

Re: program based on 8051 assembly language

in c
delare sbit P1.1 after include 51 header file.
in asm
simply setb p1.1
for logic 1 and clr p1.1 for 0

---------- Post added at 07:06 ---------- Previous post was at 07:04 ----------

use keil software instead
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…