| |

VerySource

 Forgot password?
 Register
Search
View: 1523|Reply: 2

A simple question about ARM fraud! !!

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-18 15:30:01
| Show all posts |Read mode
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? ? ?
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-7-15 16:45:01
| Show all posts
Check ARM information
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-24 12:00:01
| Show all posts
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.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list