Thread: [Tutorial] GBA ASM Programming
View Single Post
Old October 14th, 2010 (5:43 PM).
Shiny Quagsire's Avatar
Shiny Quagsire Shiny Quagsire is offline
I'm Still Alive, Elsewhere
    Join Date: May 2009
    Location: Hoenn Safari Zone
    Age: 19
    Gender: Male
    Nature: Jolly
    Posts: 700
    Originally Posted by Full Metal View Post

    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