Commit graph

26 commits

Author SHA1 Message Date
DataHoarder c6d9b910df Fix PCIE_SERDES_CTRL registers
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-06 00:06:15 +02:00
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 bee4b1ce70 Added api_BSM_STATUS status codes
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-08-03 23:57:48 +02:00
DataHoarder 9e9a6a93a2 Added PCIE/INTERRUPT bitfields
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-08-03 23:08:56 +02:00
DataHoarder d03db39486 Add further register bitfields
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-08-03 19:56:38 +02:00
DataHoarder c363d90c41 Added PLL_PCIE_CTRL bitfield
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-08-03 19:34:35 +02:00
DataHoarder 6fe46d7705 Fix ephemeral R1 constant -> reserve 2021-08-03 19:33:10 +02:00
DataHoarder 964765dcfc Add .bitfield to define bitfields of each entry (usage .bitfield <name> offset, [size in bits]. Each entry also has .not, .offset, .size, .mask for extra template usage 2021-08-03 19:25:43 +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 8c93edd1f9 * Added reservation system (basically constants in BSM_SCRATCH)
* New token cast system to force an entry as Value (&) or Indirect (*)
2021-08-03 00:02:28 +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 e76befaed7 Added full image format, include some debug information at the tail of functions
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-04 08:16:20 +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 ffc243d528 Use WRITE instead of MOV for stack pointer init
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-02 14:55:40 +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
DataHoarder 7d541611dd Added numeric Offset token support
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-02 05:09:51 +01:00
DataHoarder 7d11c93c9e Added further platform registers
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-01 08:00:01 +01:00
DataHoarder d9094e7d83 - Added Linker and multiple file assembly support.
All checks were successful
continuous-integration/drone/push Build is passing
- Added asm/registers.asm and asm/api.asm  with some used registers on the platform
- Added embedded resources into build
2021-01-01 07:31:30 +01:00