Commit graph

31 commits

Author SHA1 Message Date
fridtjof
010f44408a wip! broken disas, doesnt build right now 2026-05-04 14:31:19 +02:00
fridtjof
83b9b646e8 wip! todo! annotate another source of >16 bit values in backing registers 2026-05-04 14:31:18 +02:00
fridtjof
06f9921116 wip! maybe??? fix a subtle bug in MOVD imm 2026-05-04 14:31:18 +02:00
fridtjof
75a4c5793e wip! translate: implement BR{EQ,NE}0{B,W} 2026-05-04 14:31:18 +02:00
fridtjof
f4503efb20 CR16C: translate: fix pop edge case for CFG.SR=1
e.g. popret 0x2, RA_L is valid, but raised illegal instruction here
2026-05-04 14:31:18 +02:00
fridtjof
5b25a18c95 (still necessary?) translate: implement remap behavior for STORi with abs20 2026-05-04 14:31:18 +02:00
fridtjof
7037504166 wip! status register management 2026-05-04 14:31:18 +02:00
fridtjof
2b96aa2f41 wip! implement LPR(D), SPR(D) (stubs only) 2026-05-04 14:31:18 +02:00
fridtjof
3382fc1700 wip! implement BAL, PUSH, POP(RET) 2026-05-04 14:31:18 +02:00
fridtjof
7b0d3b1a53 wip! hack! dump_regs "semihosting" helper through excp dbg 2026-05-04 14:31:18 +02:00
fridtjof
d3c73feda0 wip! random debugging stuff, halt/debug on illegal insn 2026-05-04 14:31:18 +02:00
fridtjof
22697cd1d5
CR16C: Rename f_* to psr_* 2026-05-04 14:27:42 +02:00
Jonas Bewig
d585386a0f
CR16C: Add missing cbit/sbit flag side effect
Co-authored-by: fridtjof <fridtjof@das-labor.org>
2026-05-03 23:40:28 +02:00
Jonas Bewig
38769badc2
CR16C: Implement bit operations 2026-05-03 20:46:10 +02:00
fridtjof
fd3b855757 CR16C: cpu: fix gen_goto to actually use the slot ID provided 2025-09-14 16:04:20 +02:00
fridtjof
d0b2f99c50 CR16C: fix build for 10.1 2025-09-14 16:04:20 +02:00
Jonas Bewig
9bfee3cda8
CR16C: Fix brcond with negative displacement
Co-authored-by: fridtjof <fridtjof@das-labor.org>
2025-08-14 20:36:11 +02:00
Jonas Bewig
a7f71a31c2
CR16: Make ra and sp usable 2025-08-14 11:00:59 +02:00
Jonas Bewig
3fc0f53606
CR16C: Clean up boards
Implement a generic virt board and the basic structure for the Gigaset DE410 board.
2025-08-14 10:39:59 +02:00
Jonas Bewig
8c748ec01a
CR16C: Fix exit translation block 2025-08-13 09:19:44 +02:00
Jonas Bewig
361b5a2c43
CR16C: tcg code cleanup 2025-07-30 15:13:34 +02:00
Jonas Bewig
7a155e70f7
CR16C: Implement load and store opcodes 2025-07-19 21:23:59 +02:00
Jonas Bewig
f187e29f56
CR16C: Implement 32 bit register support 2025-05-29 16:18:44 +02:00
Jonas Bewig
f2e0e9ce51
CR16C: Implement shift opcodes 2025-05-11 20:48:20 +02:00
Jonas Bewig
b08e5b60be
CR16C: Implement scond opcode 2025-05-07 15:58:55 +02:00
Jonas Bewig
6d806d1cf3
CR16C: Implement xor opcodes 2025-05-05 20:42:13 +02:00
Jonas Bewig
f7a7bb9a47
CR16C: Implement or opcodes 2025-05-05 15:16:23 +02:00
Jonas Bewig
898a86c90a
CR16C: Implement and opcodes 2025-05-05 13:17:17 +02:00
Jonas Bewig
4d7152ee96
CR16C: Implement cmp opcodes 2025-05-05 11:19:09 +02:00
Jonas Bewig
df4af6231c CR16C: Implement sub opcodes 2025-04-18 13:52:23 +02:00
Jonas Bewig
005bf105aa
WIP 2025-04-14 09:07:59 +02:00