Hi Chris.
23-Feb-04 04:31:09, Chris Hoppman wrote to All
Was wondering what this is about.
b:boolean; by:byte; ---
b := (by and 6 = 6);
---
I have it in two places in my com routines that I am tring to
convert to asm and don't really know how it goes about evaluating
this experssion. So, don't know if I can convert it.
something like
mov al,by
and al,6
cmp al,6
jnz @ZZ0
mov b,1
jmp @ZZ1
@ZZ0:
mov b,0
@ZZ1:
I saw in the help file. If by = 6 then it's true/ if by <> 6 then
it is false and via versa, but what does = 6 at the end of it
play.
I understand this. b := (by and 6), but don't understand b:=(by
and 6 = 6);
do you understand this? b:= (by = 6)
b:=(by and 6 = 6); means the same as b:=((by and 6) = 6);
does that help ?
Bye <=-
---
* Origin: How to make Kleenex dance? Blow a little boogie in it. (3:640/1042)