mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
Add testcase for serializing svc #0x80
This commit is contained in:
1 parent
d542e88706
commit
68bb1e91aa
1 file changed
+4
@@ -233,6 +233,10 @@ test "serialize instructions" {
|
||||
.inst = Instruction.svc(0),
|
||||
.expected = 0b1101_0100_000_0000000000000000_00001,
|
||||
},
|
||||
.{ // svc #0x80 ; typical on Darwin
|
||||
.inst = Instruction.svc(0x80),
|
||||
.expected = 0b1101_0100_000_0000000010000000_00001,
|
||||
},
|
||||
};
|
||||
|
||||
for (testcases) |case| {
|
||||
|
||||
Reference in new issue
Block a user