homebrew/inc/util.inc

15 lines
250 B
PHP
Raw Normal View History

2018-08-20 20:10:06 -07:00
macro align(size) { // Align Byte Amount
while (pc() % {size}) {
db 0
}
}
macro nops(new_pc) {
if (pc() > {new_pc}) {
error "PC is already past the point specified"
}
while (pc() < {new_pc}) {
nop
}
}