vc6/boot/macros.vc6asm
2026-11-06 05:36:17 +01:00

35 lines
309 B
Plaintext

@guard MACROS
@include "arch.vc6asm"
@macro clf 0
xor fl, fl
@end
@macro clc 0
and fl, !FL_CARRY
@end
@macro add 2
clc
adc %0, %1
@end
@macro sub 2
clc
sbb %0, %1
@end
@macro pop 1
load %0, [sp]
add sp, 1
@end
;
@macro push 1
sub sp, 1
store [sp], %0
@end
@end