| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | help! |
Hi Chris.
23-Feb-04 04:31:09, Chris Hoppman wrote to All
CH> Was wondering what this is about.
CH> b:boolean; by:byte; ---
CH> b := (by and 6 = 6);
CH> ---
CH> I have it in two places in my com routines that I am tring to
CH> convert to asm and don't really know how it goes about evaluating
CH> this experssion. So, don't know if I can convert it.
something like
mov al,by
and al,6
cmp al,6
jnz {at}ZZ0
mov b,1
jmp {at}ZZ1
{at}ZZ0:
mov b,0
{at}ZZ1:
CH> I saw in the help file. If by = 6 then it's true/ if by 6 then
CH> it is false and via versa, but what does = 6 at the end of it
CH> play.
CH> I understand this. b := (by and 6), but don't understand b:=(by
CH> 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)SEEN-BY: 633/267 270 @PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.