Skip to content

Commit 0bf0fc3

Browse files
committed
updated
1 parent 9dc03f3 commit 0bf0fc3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_posts/2024-02-28-getting-started-assembler.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Tools to get familiar with:
3232

3333
* first operand is the `destination`, and the second operand is the `source`
3434
* No prefix on registers or immediates
35-
* Immedates are suffixed with 'h' and 'b'
36-
* If the first hexadecimal digit is a letter then the value is prefixed by a '0'.
37-
* Base registers use [ ]
35+
* Immedates are suffixed with `h` and `b`
36+
* If the first hexadecimal digit is a letter then the value is prefixed by a `0`.
37+
* Base registers use `[ ]`
3838

3939
```
4040
addl eax, [ebx]
@@ -47,7 +47,7 @@ mov eax,1
4747
* Registers prefixed with `%`
4848
* Immediates prefixed with `$`, hex is prefixed with 0x
4949
* First operand is the `source`, and the second operand is the `destination`
50-
* Base registers use ( )
50+
* Base registers use `( )`
5151

5252
```
5353
addl (%ebx), %eax

0 commit comments

Comments
 (0)