1/ FIND byte|word addr1 addr2 - Find a bit pattern in MCU memory
is a 2 byte value. This command will read and search through the memory address range specified by the last 2 parameters in the command line. The addresses of all occurrences of the 1st parameter (byte or word) are displayed in the main window. The syntax above is the simplest form, where a byte parameter is simply a value in range $00-$FF and a word is in the range $100-$FFFF. A maximum pattern of 4 consecutive bytes may be searched for. If the pattern contains leading $00s then the 1st parameter after FIND must be the byte count of the pattern to search for. Usage: FIND $AA $E000 $E3FF Find and display all occurrences of $AA in address range $E000 to $E3FF inclusive. FIND $AA55 $B600 $B7FF Find and display all occurrences of $AA55 in 68HC11A1 EEPROM (Addresses $B600 to $B7FF) FIND 2 $0012 $F800 $FFFF Find and display all occurrences of $0012 in address range $F800 to $FFFF. FIND 3 $00 $1234 $C000 $DFFF Find and display all occurrences of $001234 in address range $C000 to $DFFF.
2/ FIND mnemonic addr1 addr2 - Find a mnemonic in MCU memory This syntax eases the search for specific assembler code. The wild card operator ? may be used in the mnemonic operand to force a search for the opcode only. If the mnemonic addressing mode is not an indexed one, then its operand must be immediately preceded, without a space, by one of the following 3 symbols as appropriate: # (immediate); < (direct); > (extended) Usage: FIND LDAA >$1234 $E000 $E200 Find and display all occurrences of LDAA >$1234 in address range $E000 to $E200. FIND LDAB $34,X $C230 $C560 Find and display all occurrences of LDAB $34,X in address range $C230 to $C560 FIND LDX #? $F000 $F2FF Find and display all occurrences of immediate load X opcode in range$F000 $F2FF Note that a maximum of 4 characters can be searched for.
Return to summary