Skip to content

Commit b9f14d8

Browse files
authored
Update README.md
Remove incorrect comment about `LSL X1, X2, below#1` being an alias for `ORR X1, XZR, X2, LSL below#1`. Per the Architecture Reference Manual, it is instead an alias for `UBFM X1, X2, below#63, below#62`. (Of course they have the same effect.)
1 parent 6cfc08f commit b9f14d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The changes from [Chapter 1](https://github.com/below/HelloSilicon#chapter-1) (m
109109

110110
### Register and Shift
111111

112-
The gcc assembler accepts `MOV X1, X2, LSL #1`, which is not defined by the [ARM Compiler User Guide](https://developer.arm.com/documentation/dui0801/g/A64-General-Instructions/MOV--register-?lang=en), instead `LSL X1, X2, #1` (etc) is used. After all, both are just aliasses for the instruction `ORR X1, XZR, X2, LSL #1`.
112+
The gcc assembler accepts `MOV X1, X2, LSL #1`, which is not defined by the [ARM Compiler User Guide](https://developer.arm.com/documentation/dui0801/g/A64-General-Instructions/MOV--register-?lang=en). Instead, `LSL X1, X2, #1` (etc) is used.
113113

114114
### Register and Extension
115115

0 commit comments

Comments
 (0)