Fixed bug found by stoopkid, thank you

This commit is contained in:
Jeremiah Orians 2019-01-22 18:53:42 -05:00
parent 1c0323ec63
commit d01211f10f
No known key found for this signature in database
GPG Key ID: 5410E91C14959E87
2 changed files with 5 additions and 4 deletions

View File

@ -28,6 +28,7 @@ updated stage3/get_machine.c to new form for M2-Planet
Add debug label Add debug label
Correct sha256sum that wasn't updated by change Correct sha256sum that wasn't updated by change
Fixed checksums that were wrong in previous commit Fixed checksums that were wrong in previous commit
Fixed description of RET to clarify order of operations
** Removed ** Removed

View File

@ -406,10 +406,10 @@ The Opcodes will be preserved should we wish in the future to be binary compatab
| 0D 00 FF Fx | Reserved | | 0D 00 FF Fx | Reserved |
**** Function return group **** Function return group
| Hex | Name | Comment | | Hex | Name | Comment |
|-------------+-----------------+-----------------------------------------------| |-------------+-----------------+-----------------------------------------------------------|
| 0D 01 00 0a | JSR_COROUTINE a | PC = a | | 0D 01 00 0a | JSR_COROUTINE a | PC = a |
| 0D 01 00 1a | RET a | PC = MEM[a]; a = a - (register size in bytes) | | 0D 01 00 1a | RET a | a = a - (register size in bytes); PC = MEM[a]; MEM[a] = 0 |
**** Reserved block 1 **** Reserved block 1
| Hex | Name | | Hex | Name |