Update assembler/usage

2025-06-23 21:04:15 +01:00
parent 3a32cdbce5
commit 22700ecef6
+2 -2
@@ -28,8 +28,8 @@ This document provides a comprehensive reference for the DSA (Damn Simple Archit
| Register | Type | Description | | Register | Type | Description |
|----------|------|---------------------------------------------------------------------------------------------------| |----------|------|---------------------------------------------------------------------------------------------------|
| `rg0-rgf` | General Purpose | General-purpose registers. Use `rgf` carefully as pseudo-instructions may overwrite it | | `rg0-rgf` | General Purpose | General-purpose registers. |
| `acc` | Special | Accumulator for calculations and temporary storage | | `acc` | Special | Accumulator for calculations and temporary storage - don't use this for variables as pseudo instructions may overwrite this implicitly! |
| `spr` | Special | Stack pointer | | `spr` | Special | Stack pointer |
| `bpr` | Special | Base pointer for stack frames | | `bpr` | Special | Base pointer for stack frames |
| `ret` | Special | Return address register | | `ret` | Special | Return address register |