These just specify the different sections of your program. I'll walk you through each one.
.sect - Allows you to specify your own kind of section.
.bss - Reserve space for all your global variables here. These are variables you want to be able to change.
.data - Reserve space for all your global data here. This means stuff you can't change, like string constants, error messages, etc.
.text - This is the section where all your executable code goes.
As for these...what kind of assembler are you using? MASM, TASM, YASM, or something else? I know it's not NASM because it has different syntax for that. I'm not sure what these are.
.rom
.global


LinkBack URL
About LinkBacks




Reply With Quote

Benefits of Intel syntax, by the way: