Thread: [Tutorial] GBA ASM Programming
View Single Post
  #28    
Old October 14th, 2010 (05:43 PM).
Shiny Quagsire's Avatar
Shiny Quagsire
Working on 3DS CFW. Or something.
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 17
Gender: Male
Nature: Jolly
Quote originally posted by Full Metal:


Can you explain the difference between these two?
I thought that (labels/symbols) worked by the assembler calculating the distance between the (symbol/label) and the current instruction (and then doing stuff to make the instruction)
And you branch to a label, but in the end doesn't the assembler do the same sort of thing?
Not arguing, just trying to learn, i promise ;
Codewise, there isn't really much of a difference. You could use a label or symbol and it really wouldn't matter. However, if your naming a section, I'm not so sure if that's OK.
__________________



Reply With Quote