flat assembler
Message board for the users of flat assembler.
Index
> Windows > parity bit |
Author |
|
HaHaAnonymous 31 Mar 2013, 18:24
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 21:08; edited 1 time in total |
|||
31 Mar 2013, 18:24 |
|
marcinzabrze12 31 Mar 2013, 18:59
Code: mov eax, 00000000000000000000000000000010b test eax, eax jp @F ... something strange because code like above tell me that in eax is not parity ... I know that i can use simple Code: bt eax, 0 jc .not_parity ... but i want to know what is wrong in this code. |
|||
31 Mar 2013, 18:59 |
|
HaHaAnonymous 31 Mar 2013, 19:05
[ Post removed by author. ]
Last edited by HaHaAnonymous on 28 Feb 2015, 21:08; edited 1 time in total |
|||
31 Mar 2013, 19:05 |
|
baldr 31 Mar 2013, 19:11
marcinzabrze12,
HaHaAnonymous is right. Another important thing to consider is that only least significant byte of the result matters. |
|||
31 Mar 2013, 19:11 |
|
marcinzabrze12 31 Mar 2013, 20:02
omg. thak you people. now everything is clear. i was think that is like decimal system where 2 is parity .... ok. thanks.
|
|||
31 Mar 2013, 20:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.