THE COMMANDS POKE16 A,V AND POKE32 A,V WRITE V WITH THE LOW BYTE OF V AT ADDRESS A
ACTION
The command POKE_REVERSE modifies the behavior of the commands POKE16 et POKE32.
After the command POKE_REVERSE, POKE16 A,V writes the 16-bit value V at addresses A and A+1, with the low byte of V at address A.
After the command POKE_REVERSE, POKE32 A,V writes the 32-bit value V at addresses A, A+1, A+2, A+3 with the low byte of V at address A.
SYNTAX:
POKE_REVERSE
USE ERROR EXAMPLE
dim v%,address
address=adr(v%)
poke_reverse
poke16 address,2*power(256,1)+power(256,0)
print peek(address)
print peek(address+1)
print "the print is:"
print 1
print 2
print "-----"
print peek16(address)
print "printed value is: "+str$(power(256,1)+2*power(256,0))
print "-----"
peek_reverse
print peek16(address)
print "printed value is: "+str$(2*power(256,1)+power(256,0))
print "-----"
poke_normal
poke16 address,2*power(256,1)+power(256,0)
print peek(address)
print peek(address+1)
print "the print is:"
print 2
print 1
print "-----"
print peek16(address)
print "printed value is: "+str$(power(256,1)+2*power(256,0))
peek_normal
print "-----"
print peek16(address)
print "printed value is: "+str$(2*power(256,1)+power(256,0))
POKE_REVERSE
POKE_REVERSE
SEE ALSO
POKE
POKE16
POKE32
POKE_NORMAL
PEEK()
PEEK16()
PEEK32()
PEEK_NORMAL
PEEK_REVERSE