Atmel AVR Microcontroller discussion group.
[AVR club] 8051 microcontrolled - ramesh_eee_16 - Dec 15 9:39:46 2006
I want to know how to program(in assembly language) 8051 inorder
to activate the input output ports. plz help me on this aspect

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] 8051 microcontrolled - Zack Widup - Dec 15 9:49:59 2006
First off, have you downloaded the data sheet for the particular device
you want to use? What is the device you plan on using? The manufacturer
should have the data sheet available on a web page. The information is
most likely there.
Secondly, do a Google search for the part number and you will possibly
come up with more data.
This is primarily an AVR group and I myself haven't used a device with
8051 architecture in over 10 years. Some other members here may have used
8051's more extensively than I have.
Zack
On Fri, 15 Dec 2006, ramesh_eee_16 wrote:
>
> I want to know how to program(in assembly language) 8051 inorder
> to activate the input output ports. plz help me on this aspect

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )
Re: [AVR club] 8051 microcontrolled - iliad p - Dec 17 9:13:12 2006
its too simple.just write this below
mov p1,A (A is a usefull register) or
mov p1,#02H (02 in hex)(0000 0010 in binery)
that was for output port.
for input port you should make your port high for example mov p1,#FFh(1111 1111 in
binery)
then read the port and save it
mov A,p1
good luck
Zack Widup
wrote:
First off, have you downloaded the data sheet for the particular device
you want to use? What is the device you plan on using? The manufacturer
should have the data sheet available on a web page. The information is
most likely there.
Secondly, do a Google search for the part number and you will possibly
come up with more data.
This is primarily an AVR group and I myself haven't used a device with
8051 architecture in over 10 years. Some other members here may have used
8051's more extensively than I have.
Zack
On Fri, 15 Dec 2006, ramesh_eee_16 wrote:
>
> I want to know how to program(in assembly language) 8051 inorder
> to activate the input output ports. plz help me on this aspect
__________________________________________________
[Non-text portions of this message have been removed]

(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )