Post Created date
how do you pass a string containing a " character to an assembler macro
the backslash escape is not a problem, I use it in a different version of this code (for arm thumb2 linux, linked below).   there are only a few strings i need with "...
Wednesday, 1 May 2019 - 15:05
MAJOR problem with GNU assembler under AVR
I fought with this for hours and every time I looked it was a cell address I was seeing, looking at it the way you did DOES show it to be a byte address :/   So frustrating,...
Wednesday, 1 May 2019 - 14:50
how do you pass a string containing a " character to an assembler macro
david.prentice wrote: I can't be bothered to test it.   But I suspect that gnu-as will use the regular C rules for literal strings.   Yes,   I know that...
Wednesday, 1 May 2019 - 01:01
MAJOR problem with GNU assembler under AVR
and I may have just KLUDGED a solution.  it is a kludge though because Im hand assembling 16 bit addresses as two 8 bit items... see my code below in is entirety.   the...
Tuesday, 30 April 2019 - 18:08
MAJOR problem with GNU assembler under AVR
ki0bk wrote: mark4th wrote:Things I have had no problem doing on say... ARM... simply do not assemble with the AVR version of the GNU assembler.  Probably from its (AVR)...
Tuesday, 30 April 2019 - 17:56
MAJOR problem with GNU assembler under AVR
clawson wrote:This is why the pm() macros exist in the assembler. . EDIT user manual... https://sourceware.org/binutils/... . EDIT2: I reread your first post. pm() is the solution...
Tuesday, 30 April 2019 - 17:53
MAJOR problem with GNU assembler under AVR
ki0bk wrote: Please provide a small complete program that demos the issue. Tell what assembler you are using (or toolchain).   What does unix have to do with AVR or assembler...
Tuesday, 30 April 2019 - 17:46
MAJOR problem with GNU assembler under AVR
El Tangas wrote: Why runtime?   Can't you just .org 0 base:   or something like that?   The presented solution to subtract the base address at compile time...
Tuesday, 30 April 2019 - 17:37
MAJOR problem with GNU assembler under AVR
and this would result in my having to do a run time addition of "base" back in to the value assembled.    why is .word (xxx * 2) | 0x8000 such a problem for this...
Tuesday, 30 April 2019 - 17:23
[HOWTO] Bug reporting
and how am i supposed to report bugs NOT related to atmel studio, not related to ASF?  What if the bug is in the GNU assembler that ships with it? where do i report bugs...
Monday, 22 April 2019 - 06:22
YACVASMW
Kartman wrote:You're not telling us anything new- many of us have years of assembler programming under our belt but we choose not to use it unless necessary. Considering modern...
Thursday, 15 June 2017 - 19:05
YACVASMW
I realized later that on an AVR it IS possible to access SREG directly because the SFRs are mapped to I/O space so all you need is a pointer to that register or as shown some...
Thursday, 15 June 2017 - 18:14

Pages