projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed37aa8
)
disasm: fix reversed REP vs REPNE in eatbyte()
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 19 Mar 2009 13:52:07 +0000
(06:52 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 19 Mar 2009 13:52:07 +0000
(06:52 -0700)
F2 is REPNE, F3 is REP(E)
disasm.c
patch
|
blob
|
history
diff --git
a/disasm.c
b/disasm.c
index
f410418
..
349a3ff
100644
(file)
--- a/
disasm.c
+++ b/
disasm.c
@@
-1432,10
+1432,10
@@
int32_t eatbyte(uint8_t *data, char *output, int outbufsize, int segsize)
switch (byte) {
case 0xF2:
- str = "rep";
+ str = "rep
ne
";
break;
case 0xF3:
- str = "rep
ne
";
+ str = "rep";
break;
case 0x9B:
str = "wait";