aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/development
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2025-04-13 23:18:35 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2025-04-13 23:18:35 +0200
commit24b8fe4bd2b47e5e5f39a7643910217589b431de (patch)
treed97198eccd3332437b234d1d401d0081e22cfcaf /src/development
parentc929dc819132694c50a22eccb5c90b20aa39d97d (diff)
downloadnotes-24b8fe4bd2b47e5e5f39a7643910217589b431de.tar.gz
notes-24b8fe4bd2b47e5e5f39a7643910217589b431de.zip
gas: word/long/quad
Diffstat (limited to 'src/development')
-rw-r--r--src/development/gas.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/development/gas.md b/src/development/gas.md
index d0ae284..126f84d 100644
--- a/src/development/gas.md
+++ b/src/development/gas.md
@@ -15,10 +15,10 @@
- `.byte`, `.2byte`, `.4byte`, `.8byte` to define a N byte value
```x86asm
.byte 0xaa
- .2byte 0xaabb
+ .2byte 0xaabb # .word
.2byte 0xaa, 0xbb
- .4byte 0xaabbccdd
- .8byte 0xaabbccdd11223344
+ .4byte 0xaabbccdd # .long
+ .8byte 0xaabbccdd11223344 # .quad
```
- `.ascii` to define an ascii string
```x86asm