Skip to content

Commit 24b8fe4

Browse files
committed
gas: word/long/quad
1 parent c929dc8 commit 24b8fe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/development/gas.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
- `.byte`, `.2byte`, `.4byte`, `.8byte` to define a N byte value
1616
```x86asm
1717
.byte 0xaa
18-
.2byte 0xaabb
18+
.2byte 0xaabb # .word
1919
.2byte 0xaa, 0xbb
20-
.4byte 0xaabbccdd
21-
.8byte 0xaabbccdd11223344
20+
.4byte 0xaabbccdd # .long
21+
.8byte 0xaabbccdd11223344 # .quad
2222
```
2323
- `.ascii` to define an ascii string
2424
```x86asm

0 commit comments

Comments
 (0)