| author | |
| committer | |
| log | c405844b0a039e6f2ba766d80644e06c1438654c |
| tree | 4cdee47279698df0d7e28ca199a63e01a6dd3628 |
| parent | 37695ed81e638de864a002295aa08a35297a862b |
2 files changed, 2 insertions(+), 2 deletions(-)
src-self-hosted/codegen/x86.zig+1-1| ... | ... | @@ -7,7 +7,7 @@ pub const Register = enum(u8) { |
| 7 | 7 | ax, cx, dx, bx, sp, bp, si, di, |
| 8 | 8 | |
| 9 | 9 | // 16-23, 8-bit registers. id is int value - 16. |
| 10 | al, bl, cl, dl, ah, ch, dh, bh, | |
| 10 | al, cl, dl, bl, ah, ch, dh, bh, | |
| 11 | 11 | |
| 12 | 12 | /// Returns the bit-width of the register. |
| 13 | 13 | pub fn size(self: @This()) u7 { |
src-self-hosted/codegen/x86_64.zig+1-1| ... | ... | @@ -33,7 +33,7 @@ pub const Register = enum(u8) { |
| 33 | 33 | |
| 34 | 34 | // 48-63, 8-bit registers. 56-63 are extended. |
| 35 | 35 | // id is int value - 48. |
| 36 | al, bl, cl, dl, ah, ch, dh, bh, | |
| 36 | al, cl, dl, bl, ah, ch, dh, bh, | |
| 37 | 37 | r8b, r9b, r10b, r11b, r12b, r13b, r14b, r15b, |
| 38 | 38 | |
| 39 | 39 | /// Returns the bit-width of the register. |