Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to access the general purpose register i-e r0,r1,r2,etc using Bascom AVR?

Status
Not open for further replies.

zohaib

Member level 4
Joined
Aug 24, 2007
Messages
77
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
PAKISTAN
Activity points
1,749
hello everyone!
how to access general purpose register i-e r0,r1,r2,etc using bascom avr?
FOR EXAMPLE if iwant to store a hex value of (fe) in R1 WHAT WILL BE THE BASCOM INSTRUCTION?
thanx.
 

medra

Full Member level 3
Joined
Oct 15, 2006
Messages
150
Helped
37
Reputation
74
Reaction score
6
Trophy points
1,298
Location
Egypt
Activity points
2,023
Re: avr help


hi again!!
you could use this assembly code inside the basic code
$asm
ldi R0,.....( put your value)
$asm

Take care of using this register by the basic code
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top