c_vm.git
3 months agoFirst cut at assembly passes, expressions, symbol table and binary output master
Nick Downing [Mon, 22 Jan 2024 12:54:39 +0000 (23:54 +1100)]
First cut at assembly passes, expressions, symbol table and binary output

3 months agoRationalize (Data|Op)(I|F|PCR) classes using new TYPE_(INT|UINT|FLOAT|PCR) enum
Nick Downing [Mon, 22 Jan 2024 11:03:48 +0000 (22:03 +1100)]
Rationalize (Data|Op)(I|F|PCR) classes using new TYPE_(INT|UINT|FLOAT|PCR) enum

3 months agoChange space to tab for operand column in test.asm, mnemonic is now < 8 letters
Nick Downing [Mon, 22 Jan 2024 10:45:41 +0000 (21:45 +1100)]
Change space to tab for operand column in test.asm, mnemonic is now < 8 letters

3 months agoChange expr,type to type:expr, mov rN,r0 to get rN, mov r0,rN to set Rn
Nick Downing [Mon, 22 Jan 2024 10:28:30 +0000 (21:28 +1100)]
Change expr,type to type:expr, mov rN,r0 to get rN, mov r0,rN to set Rn

3 months agoChange (s)iXX to intXX, uiXX to uintXX, fXX to floatXX
Nick Downing [Mon, 22 Jan 2024 10:15:06 +0000 (21:15 +1100)]
Change (s)iXX to intXX, uiXX to uintXX, fXX to floatXX

3 months agoInitial commit, can parse a test source file but no assembly passes yet
Nick Downing [Mon, 22 Jan 2024 06:04:34 +0000 (17:04 +1100)]
Initial commit, can parse a test source file but no assembly passes yet