Re: Tested the expansion menory...

From: Professor Dredd (profdredd_at_yahoo.com)
Date: 2001-10-17 04:18:59

Everydentally the "AND" function only works with 16-bit
values.

"Commodore 64 Programmer's Reference Guide", page 13,
"Logical Operators":

... "The operands must be in the integer range of values (
-32768 to +32767) (floating-point numbers are converted to
integers) and logical operations give an integer result."

http://www.devili.iki.fi/Computers/Commodore/C64/Programmers_Reference/Chapter_1/page_013.html

http://www.devili.iki.fi/pub/Commodore/docs/c64prg10.zip

Also see the entry for the "AND" operator on page 35.

Hope that helps  ;')

--- MagerValp <MagerValp@cling.gu.se> wrote:
> 
> ?40960AND255
> 
> ?ILLEGAL QUANTITY  ERROR
> READY.
> 

=====
go6502 - Commodore and Apple II news, programs, hardware and resources
http://www.geocities.com/profdredd

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.1.