yurapyon / mini

16bit Forth wahoo
MIT License
0 stars 0 forks source link

'Call' bytecode instead of 'absjump' #30

Closed yurapyon closed 3 months ago

yurapyon commented 3 months ago

this PR is to create a new tag bytecode: 'call' 'tailcall' will probably be renamed to 'jump' absjumps will be three bytes instead of two this allows us to use 64k of memory, simplifies the compiler and language, frees up 63 bytecodes downsides are calls to mini word take up more space, but this isnt a big deal