-
Notifications
You must be signed in to change notification settings - Fork 0
Roots lgmap() Function
Dan Kranz edited this page Nov 21, 2020
·
4 revisions
All index values stored in block[field] are transformed based on the values in the rank column; i.e. for all nline block lines, block[field] is set to rank[block[field]] provided that block[field] is not equal to zero.
Roots.lgmap(block, cpl, nline, field, rank)
Parameter | Description |
---|---|
block | Uint8Array memory block |
cpl | The width of a memory block line |
nline | The number of block lines |
field | A field definition array. The first element specifies the starting byte location. The second element specifies the length in bytes. |
rank | New index values for block(field) |