Aug 29, 2007 #1 Z 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.
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.
Aug 29, 2007 #2 M medra Full Member level 2 Joined Oct 15, 2006 Messages 149 Helped 37 Reputation 74 Reaction score 6 Trophy points 1,298 Location Egypt Activity points 2,012 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
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