| View previous topic :: View next topic |
| Author |
Message |
Corruptor Advanced Cheater
Reputation: 3
Joined: 10 Aug 2011 Posts: 82
|
Posted: Thu Jun 06, 2013 2:00 pm Post subject: Wrong instruction displayed? |
|
|
| Code: | | worldedit.exe+1C1430 - 0F95 C0 - setnc al |
The Opcode (0F95) actually implies setne, as setnc would be 0f93, still it displays setnc. The Little description bar below shows "set byte if not carry (not equal)", which is even weirder, as equal usually means zero, not carry. I remember coming over such an instruction and didn't understand why it was triggering already (i think i even asked it as a question here), and this would actually explain that behavior. Possibly a bug?
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu Jun 06, 2013 2:35 pm Post subject: |
|
|
Newest CE (CE6.3Beta2) has this:
0F95 C0 - setne al
0F93 C0 - setae al
note, CE treats "setnc al" as "setae al"
So, is it still wrong?
_________________
|
|
| Back to top |
|
 |
Corruptor Advanced Cheater
Reputation: 3
Joined: 10 Aug 2011 Posts: 82
|
Posted: Thu Jun 06, 2013 2:47 pm Post subject: |
|
|
setae would be correct i think. Above or Equal would be not below, which means x-y gives an overflow and sets the carry flag, so
AE -> NB -> NC.
Nice to hear that it's fixed for 2.3 already
|
|
| Back to top |
|
 |
|