WRITES THE 32-BIT VALUE V (FROM 0 TO 4294967295) AT ADDRESSES A, A+1, A+2 AND A+3
ACTION
The command POKE32 A,V writes the 32-bit value V (from 0 to 4294967295) at memory addresses A, A+1, A+2 and A+13
In NORMAL mode, the high byte of V is written at address A and the low byte of V is written at adress A+3.
In REVERSE mode, the low byte of V is written at address A and the high byte of V is written at adress A+3.
By default, the mode is NORMAL. The mode can be changed by the commands POKE_REVERSE and POKE_NORMAL.
Remark : The memory is looked by POKE32 as a series of bytes, each byte having its own address.
SYNTAX:
POKE32 A,V
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))
POKE32
POKE32 A,V
SEE ALSO
POKE
POKE16
POKE_NORMAL
POKE_REVERSE
PEEK()
PEEK16()
PEEK32()
PEEK_NORMAL
PEEK_REVERSE