homebrew/inc/util.inc

15 lines
250 B
PHP
Raw Normal View History

2018-08-21 05:10:06 +02: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
}
}