diff options
author | iximeow <me@iximeow.net> | 2019-10-19 22:49:08 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:10:13 -0800 |
commit | 02fd73fbc22d3abfc876cf21fa6322e815e940c7 (patch) | |
tree | 654a50cd99f4b5341c508b9753ddb36b8fc4d8f6 /src/lib.rs | |
parent | f1c94dadfa73c755566a491c7c2d15823101408b (diff) |
rsp and rbp constructors used wrong register bank
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,7 +90,7 @@ impl RegSpec { pub fn rbp() -> RegSpec { RegSpec { num: 5, - bank: RegisterBank::RFlags + bank: RegisterBank::Q } } @@ -98,7 +98,7 @@ impl RegSpec { pub fn rsp() -> RegSpec { RegSpec { num: 4, - bank: RegisterBank::RFlags + bank: RegisterBank::Q } } |