x86 assembly GAS, padding -
is possible pad amount of times depending on current location counter?
in nasm can this
times value - ($ $$) db 0
is there coresponding way of doing using gas syntax? (the ammount of bytes wish pad unknown, max number known)
if want align use .align
directive, , if want allocate stuff hand need use .space
directive. second 1 should used in .bss
section.
Comments
Post a Comment