jserv / amacc

Small C Compiler generating ELF executable Arm architecture, supporting JIT execution
Other
1.01k stars 160 forks source link

Reorder opcode enumeration #58

Closed jserv closed 2 years ago

jserv commented 5 years ago

Recent div/mod operator support breaks the classification of opcode enumeration:

/* system call shortcuts */
OPEN,READ,WRIT,CLOS,PRTF,MALC,FREE,MSET,MCMP,MCPY,MMAP,DSYM,BSCH,STRT,DLOP,DIV,MOD,EXIT,

Both DIV and MOD should be moved to somewhere nearby SUB and MUL.

HPCguy commented 2 years ago

Closed by #80