No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I would like to convert string into number but AVR-8bit only has 8bit in a register and data stored as hex, not decimal. I can, however, only string less than '256' and store it into 1 register only. For example There is a string .DB '123456' I would like to … | |
What mathematical function do ASR and ROR perform? For instance I have a two registers for storing a value of 2bytes (R5:R4) then I use [code=assembly] SomeProcedure: mov r20, r2 clr r3 clr r4 clr r5 cpi r20, 0 brge ProcLoop neg r20 com r3 ProcLoop: cpi r20, 0 breq … |