Commit graph

14 commits

Author SHA1 Message Date
DataHoarder e3535abed0 Added new ASM register fields, made std_divide use scratch registers
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-06 00:04:44 +02:00
DataHoarder 6fe46d7705 Fix ephemeral R1 constant -> reserve 2021-08-03 19:33:10 +02:00
DataHoarder 436d251cfd Implement std_multiply using shift + add
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-08-03 18:20:08 +02:00
DataHoarder ee8c4ed7de add shorthand for scratch registers 2021-08-03 17:52:42 +02:00
DataHoarder f7b4fa92db stdlib/register API change, use different RRET/RRET_X and P0/P1 2021-08-03 16:10:51 +02:00
DataHoarder 6f8d12ee32 add std_divide (WIP)
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-08-03 15:48:52 +02:00
DataHoarder 525eb6d799 Add parameter registers for GET usage
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-08-03 02:25:54 +02:00
DataHoarder e4c90e1c53 Add support for DocComments that get ignored on parser (useful for big license texts)
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-08-03 01:49:18 +02:00
DataHoarder 835c84c944 Major overhaul of Stack system and calling convention, added PUSH, PUT, GET (and immediate versions), optimized FastCall, expanded RET
Some checks reported errors
continuous-integration/drone/push Build was killed
* Stack redesigned to have a Stack pointer and Frame pointer, and restoration of such for ease of access
* Can now directly add parameters to RET for setting RRET
* PUT, GET (and immediate versions) ops have been added to interact with stack offsets without pushing/popping
* New PUSH op to push values onto stack, and PushGroup optimized multiple value set
* FastCall now uses optimized PushGroup and minimizes amount of PUSH calls
2021-08-03 00:02:49 +02:00
DataHoarder e92a84b4ac Added extra missing registers
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-05 12:21:46 +01:00
DataHoarder a51287bcee Add definition for RRET_X
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-03 07:01:52 +01:00
DataHoarder d70d63ee24 Added P2-P8 offsets
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-03 04:54:30 +01:00
DataHoarder 8514bb8a90 Flip stack around to be similar to other architectures. Implement FASTCALL calling convention
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-02 10:30:32 +01:00
DataHoarder bb8df3aae2 Implemented POPP stack peeking op. Start stdlib.asm and init
All checks were successful
continuous-integration/drone/push Build is passing
- implement std_multiply
2021-01-02 06:31:26 +01:00