gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

ASM > Making macros in devkitarm?

#48607 - 3dfx - Thu Jul 21, 2005 3:01 am

Hi,
i need to know how 2 make a macro in devkitarm_r8. And how to write for a variable. any help is greatly appreciated . thanx

#48616 - Orphean - Thu Jul 21, 2005 5:32 am

*snip*

Whoops this is the ASM forum ;)

#48660 - tepples - Thu Jul 21, 2005 3:28 pm

It appears that 3dfx is asking for the syntax for macros in Gas, the GNU assembler included with devkitARM. Here's the section on .macro in the Gas manual.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#48663 - Lord Graga - Thu Jul 21, 2005 4:11 pm

I would also strongly suggest that you updated your DevkitARM installation to r14, there are allways new fixes.

#48676 - Miked0801 - Thu Jul 21, 2005 6:44 pm

Grega, a different sig please.

#48677 - poslundc - Thu Jul 21, 2005 6:46 pm

Miked0801 wrote:
Grega, a different sig please.


Note that the expression has no side-effect. ;)

Dan.

#48678 - tepples - Thu Jul 21, 2005 6:47 pm

Perhaps someone has started a project on one version of devkitARM and is reluctant to upgrade. I tried to upgrade from r11 to r12 during the development of luminesweeper, but it resulted in a binary that worked on VisualBoyAdvance but caused a reset (from PogoShell) or white screen (when flashed as a single ROM) on GBA hardware. I figured that it was quicker at the time to switch back to r11 than to fully reduce the bug in r12's output to a minimal case, especially given that I'd have to use LittleWriter for every step in the reduction.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#48687 - wintermute - Thu Jul 21, 2005 7:52 pm

tepples wrote:
Perhaps someone has started a project on one version of devkitARM and is reluctant to upgrade. I tried to upgrade from r11 to r12 during the development of luminesweeper, but it resulted in a binary that worked on VisualBoyAdvance but caused a reset (from PogoShell) or white screen (when flashed as a single ROM) on GBA hardware. I figured that it was quicker at the time to switch back to r11 than to fully reduce the bug in r12's output to a minimal case, especially given that I'd have to use LittleWriter for every step in the reduction.


have you tried r14?

#48757 - 3dfx - Fri Jul 22, 2005 2:52 am

Thanks you guys. I didn't realize the newest version was r14. Thanks a mil.