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
View File

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

View File

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

View File

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