Commit Graph

40 Commits

Author SHA1 Message Date
andromeda
ec88bd7381 rearrange test case 2026-03-18 18:41:48 +01:00
andromeda
d5c2dde221 identify some tokens 2026-03-18 16:53:35 +01:00
andromeda
de60e52c5a range check char length 2026-03-18 16:21:34 +01:00
andromeda
17a0a1a406 yeh only chr consts fn 2026-03-18 16:18:19 +01:00
andromeda
e79a30ba71 add rough char/str parsing 2026-03-17 21:16:17 +01:00
andromeda
0160d2e127 add binary 2026-03-15 22:02:36 +01:00
andromeda
c05adee382 add octal 2026-03-15 21:55:16 +01:00
andromeda
64d3e4f635 remove dead lines 2026-03-15 21:19:30 +01:00
andromeda
238069aa0d evaluate constants as long as they are hex in the form 0x 2026-03-15 21:18:40 +01:00
andromeda
4a3350fe4e get token id of operators 2026-03-13 22:49:15 +01:00
andromeda
0ee8ff7914 some major architecture changes 2026-03-12 23:03:29 +01:00
andromeda
bc19d760b9 remove dead lines 2026-03-12 14:30:24 +01:00
andromeda
065a746ca4 remove disk again, oops x( 2026-03-12 14:27:16 +01:00
andromeda
1b93cab4f6 add warn print, clean up a little 2026-03-12 14:26:38 +01:00
andromeda
9e68a6bb6e increase/fix warnings 2026-03-12 14:12:33 +01:00
andromeda
c003e63d62 remove unused code 2026-03-12 14:03:46 +01:00
andromeda
e775b05f85 add print.* modes 2026-03-12 13:54:44 +01:00
andromeda
a84f2d7453 add get_ModRM 2026-03-11 20:14:13 +01:00
andromeda
e6d7cb2f21 add get_reg_bits and test, streamline ModRM calculations, correct opcodes, fix typos... 2026-03-10 21:21:59 +01:00
andromeda
08c39a2bd8 add get_opcode and its test, fix a couple bugs + semantics things 2026-03-10 16:32:06 +01:00
andromeda
a972f38bb6 add get_direct_addressing_ModRM and test_*, fix a couple bugs/typos, add 'reg value' as register metadata 2026-03-09 23:01:12 +01:00
andromeda
869420ef7a fix some bugs, work on assembler 2026-03-09 11:00:59 +01:00
andromeda
33710a8ebe work on metadata system, put tests in seperate file 2026-03-09 10:08:19 +01:00
andromeda
0b7526661c clear up internal data structures, add to README 2026-03-08 16:03:24 +01:00
andromeda
76e9cc4cd7 add resources to README 2026-03-08 13:53:05 +01:00
andromeda
002100bd70 add resources to README 2026-03-08 13:47:12 +01:00
andromeda
e10d771743 parse brackets, improve docs 2026-03-08 12:35:14 +01:00
andromeda
172566dfe3 remove line feed characters xD 2026-03-08 11:23:46 +01:00
andromeda
f4cadcfff9 change token table entries, remove temporary file :shame: 2026-03-08 11:15:05 +01:00
andromeda
d90c39b6bc clarify readme 2026-03-08 11:04:42 +01:00
andromeda
0d66e77976 get tokenising working a bit :p also some fixes and semantics 2026-03-08 10:56:20 +01:00
andromeda
63e3a1ea7e add some tokens, length1 token support 2026-03-07 21:33:28 +01:00
andromeda
19a3e4ff5b little optimisation, add single-token parsing function 2026-03-07 20:57:19 +01:00
andromeda
50964e945e encode register tokens 2026-03-07 16:44:40 +01:00
andromeda
46bdc91966 clear tables 2026-03-07 15:51:51 +01:00
andromeda
7df3d25727 design token work 2026-03-07 15:43:41 +01:00
andromeda
30a7b5cb34 add elemb, improve token checking 2026-03-07 12:43:55 +01:00
andromeda
444e85e30c clarify doc 2026-03-06 22:36:47 +01:00
andromeda
00be2cc545 reformat, add copy_token and test, fix bug 2026-03-06 22:16:26 +01:00
andromeda
9c65697dd8 bunch of stuff idek 2026-03-06 20:33:51 +01:00