CompuServe Messages

IDCMP

#: 27686 S7/ProgrammingForum unknown
    24-Jul-86 03:42:01
Sb: #27551-IDCMP
Fm: GARY SARFF 70167,2216
To: Scott Ballantyne 70066,603

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

Scott, what is this about btst only testing bits mod 8? Is that from Lattice C or what? When I was doing Icon there were many references as you probably saw to things like D_VAR and such (Masks for different descriptor types) and one was for example 0x40000000 and it was supposed to be ANDed with a value. It compiles to a btst #$1E,<something> on the wicat but lattice would insist on compiling it as btst 6,<something> Actually testing the wrong bit!! Is that what you mean? That was driving me insane. Had to go through all kinds of gyrations to get lattice to produce the proper code. Does Aztec do this too? If so, watch out when you get 6.0 to work on.