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 > .code 16 or .code 32 ?

#7426 - Lupin - Tue Jun 17, 2003 5:14 pm

I have some questions:

where is the difference between .code 16 or .code 32?

where is the difference between thumb and arm? I compiled an function wich is meant to be thumb code to arm code, without changing anything (expect the function propertys).

What is the advantage/disadvantage of thmb/arm?
And what does .align 1/2/4 mean?

perhaps you could enlighten me ^^