!  (set memory)



! hex-number  hex-number2

This command will write hex-number2 into location hex-number in ARM memory.  It is useful for debugging direct control of the ARM peripherals. 

Expression can only be a hex value without the leading $ or &H and no spaces between the ! and the hexvalue.   The ARMmite does not list the address or the ASCII values.

This function will be added in version 7.47 for ARM7 and 8.07 for Cortex parts.  And also requires BASICtools 5.9 or later.


The following example displays the area of ARM memory corresponding to the PWM registers.  Memory address on the left, followed by 4 or 8 words of memory displayed in hex.


E0014000: 00000000 00000001 04BFE6BB 0000E663 0000A516 00000000 00000000 00000000

!e0014000 1234567


E0014000: 01234567 00000001 04BFE6BB 0000E663 0000A516 00000000 00000000 00000000 

Differences from other BASICs

See also