MAP 4096
consta FIELD 4
constb FIELD 4
x FIELD 8
y FIELD 8
string FIELD 256
LDR R6, consta [52RD.com]
Why does the above command only access the data field of the 4K address range before or after the LDR instruction? ? ?
This is stipulated in the instruction system. When LDR reads constants from the literal pool, the offset from the PC pointer to the literal pool must be less than 4KB.