diff options
author | Camil Staps | 2023-11-29 11:26:28 +0100 |
---|---|---|
committer | Camil Staps | 2023-11-29 11:26:28 +0100 |
commit | 4ce6adb6f5dc6623b903853322be726a9f95a3b8 (patch) | |
tree | 927447752dcf46f491be81eabbd68a5d5e06ffa8 /snug-clean/src/MIPS/MIPS32.dcl | |
parent | WIP on code generation for case expressions (diff) |
Continue with cases WIP: todo is matching code for basic values and adding locals for constructor arguments in a patterncases
Diffstat (limited to 'snug-clean/src/MIPS/MIPS32.dcl')
-rw-r--r-- | snug-clean/src/MIPS/MIPS32.dcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/snug-clean/src/MIPS/MIPS32.dcl b/snug-clean/src/MIPS/MIPS32.dcl index 83f15cb..cda120e 100644 --- a/snug-clean/src/MIPS/MIPS32.dcl +++ b/snug-clean/src/MIPS/MIPS32.dcl @@ -37,8 +37,8 @@ instance toString Line | XorWord !DestinationRegister !SourceRegister !TargetRegister | Jump !Link !JumpTarget - | BranchOn1 !BranchCondition1 !SourceRegister !Offset - | BranchOn2 !BranchCondition2 !SourceRegister !TargetRegister !Offset + | BranchOn1 !BranchCondition1 !SourceRegister !Label !Offset + | BranchOn2 !BranchCondition2 !SourceRegister !TargetRegister !Label !Offset | Break !Int | Syscall !Int /* applications should also set v0 to the syscall argument */ |