Continue to Site

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
75
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
PAKISTAN
Activity points
1,729
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.
 

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top