OSLib Hdr macros
Jean-Michel
jmc.bruck at orange.fr
Fri Jul 17 09:41:31 BST 2026
Hi
I just noticed that the oslib.Hdr.macros was not up to date: there are 26b
instructions!
eg.
MACRO
$label SetN
;C=0 V=0 Z=0 N=1
$label CMN PC, #&80000000
MEND
idem for SetV; SetZ, SetC
I hope the version below is correct:?
; 32 bit PSR:
; N|Z|C|V
MACRO
$label SetN
;C=0 V=0 Z=0 N=1
MSR CPSR_flg,#0x80000000 ; Set all the flags regardless
; of their previous state
; (does not affect any control bits)
Thanks,
--
Jean-Michel
More information about the oslib-user
mailing list