Commit Graph

13 Commits

Author SHA1 Message Date
Matthew Laux bec8ec0f57 indirect de 2025-12-14 23:23:55 -06:00
Matthew Laux 7edf9403f8 rearrange registers again 2025-12-14 23:09:16 -06:00
Matthew Laux 57f35f2c34 ld (bc), a and ld a, (bc), about to change the register allocation again 2025-12-14 20:03:09 -06:00
Matthew Laux ef37993ace reallocate registers 2025-12-14 19:13:05 -06:00
Matthew Laux 982d7c1a4b unconditional call/ret, might need to change how sp works 2025-12-14 15:08:58 -06:00
Matthew Laux 9b7f3b4e87 jr z/nz/c/nc, move emitters to separate file 2025-12-14 14:14:48 -06:00
Matthew Laux e931a7fb99 unconditional jr, dec a 2025-12-14 00:47:31 -06:00
Matthew Laux 0b8e8c1c60 add jump + dispatcher thing, rename basic_block, remove useless unit tests 2025-12-13 23:20:50 -06:00
Matthew Laux 25e759b456 add ld 16 bit immediate 2025-12-13 18:16:08 -06:00
Matthew Laux ea143ae774 rest of the ld reg, immediate 2025-12-13 17:33:33 -06:00
Matthew Laux 38c54f1cdf split tests into separate files 2025-12-12 17:59:04 -06:00
Matthew Laux c3ff637f6c simplify how returning from the test works 2025-12-12 17:47:36 -06:00
Matthew Laux 6246d78047 add musashi to test compiler without having to use the mac 2025-12-12 17:17:31 -06:00