add xop to debugging

This commit is contained in:
anon 2024-07-05 03:25:52 +02:00
parent 48ddf8cac6
commit ce04dde5af
3 changed files with 6 additions and 4 deletions

1
.gitignore vendored

@ -5,3 +5,4 @@
eaxhla
eaxcc
.gdb_history
*.pp

@ -50,7 +50,8 @@ ${OUT}: ${GENSOURCE} ${GENOBJECT} ${OBJECT}
${LINK.c} -o $@ ${OBJECT} ${GENOBJECT} ${LDLIBS}
test: ${OUT}
${WRAP} ./${OUT} debug/test.hla
fcpp -C -LL debug/xop.eax > debug/xop.eax.pp
${WRAP} ./${OUT} debug/xop.eax.pp
clean:
-rm ${OUT} ${OBJECT} ${GENOBJECT} ${GENSOURCE}

@ -10,10 +10,10 @@
fast
procedure highlight
in s32 offset;
in u8 buffer;
in s32 offset
in u8 buffer
s32 byte;
s32 byte
begin
loop
if byte = 0x90 then