RETURNS THE CONTENT (32-BIT VALUE FROM 0 TO 4294967295) OF ADDRESSES A, A+1, A+2 AND A+3
ACTION
The function PEEK32(A) returns a 32-bit value the content of which is found at addresses A, A+1, A+2 and A+3.
In NORMAL mode, the content of address A is the high byte and the content of address A+3 is the low byte of the returned value.
In REVERSE, the content of address A is the low byte and the content of address A+3 is the high byte of the returned value.
By default, the mode is NORMAL. The mode can be changed by the commands PEEK_REVERSE and PEEK_NORMAL.
PEEK32 returns a value from 0 to 4294967295.
SYNTAX:
Resultt=PEEK32(A)
USE ERROR EXAMPLE
dim v%,address
address=adr(v%)
poke32 address,4*power(256,3)+3*power(256,2)+2*power(256,1)+power(256,0)
print peek(adr(v%))
print peek(adr(v%+1))
print peek(adr(v%+2))
print peek(adr(v%+3))
print "the print is:"
print 4
print 3
print 2
print 1
print "-----"
print peek32(address)
print "printed value is: "+str$(4*power(256,3)+3*power(256,2)+2*power(256,1)+power(256,0))
PEEK32()
PEEK32(A)
SEE ALSO
POKE
POKE16
POKE32
POKE_NORMAL
POKE_REVERSE
PEEK()
PEEK16()
PEEK_NORMAL
PEEK_REVERSE