Memory layout

| 0x9F | B1 / B2 | B3 / B4 | 0 / B6 | Ofst | Start | End | V | R | |——|———–|———–|———-|——–|———|——-|—–|—–|

Arguments

Description

Search the value V between Ofst + Start and Ofst + End in the bank B1 and store the position in R if found, or -1 of not.