| ... | @@ -233,6 +233,10 @@ test "serialize instructions" { | ... | @@ -233,6 +233,10 @@ test "serialize instructions" { |
| 233 | .inst = Instruction.svc(0), | 233 | .inst = Instruction.svc(0), |
| 234 | .expected = 0b1101_0100_000_0000000000000000_00001, | 234 | .expected = 0b1101_0100_000_0000000000000000_00001, |
| 235 | }, | 235 | }, |
| | 236 | .{ // svc #0x80 ; typical on Darwin |
| | 237 | .inst = Instruction.svc(0x80), |
| | 238 | .expected = 0b1101_0100_000_0000000010000000_00001, |
| | 239 | }, |
| 236 | }; | 240 | }; |
| 237 | | 241 | |
| 238 | for (testcases) |case| { | 242 | for (testcases) |case| { |