Author: GWD Time: 2019.7.5
First, the course content:
1, less than perfect configuration (will destroy the other bit register)
2, Q: Several commonly used ARM assembly instructions?
3, Q: LDR difference with the MOVE?
A: LDR directive, the execution time is split into multiple assembly instructions, the MOVE instruction can not be directly copied 4-byte data, move instruction itself accounts for a number of bytes in the 32-bit instruction so can not transfer 32 bit data.
4, the first instruction must be developed bare assembly code (start code configured to stack address).
.text
.global _start
_start:
ldr r1,=0x56000050
ldr r0,=0x100
str r0,[r1]
ldr r1,=0x56000054
ldr r0,=0
str r0,[r1]
halt:
b halt
5, windows and linux virtual machine remote login, the SI editor's code uploaded to the Linux compiler.
. 1), FileZilla upload code to the linux
2), using software-controlled mobaXterm linux virtual machine, compiled code uploaded to linux
3), connected with FileZilla downloaded file into the generated bin Windows;
. 4), the bin file burn oflash development board to
5), a phenomenon observed
two, learning points:
three, Code no :()