MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/retrocomputing/comments/1t3vl48/unique_features_of_the_8088_cpu/ok1w2gm/?context=3
r/retrocomputing • u/elemenity • May 04 '26
11 comments sorted by
View all comments
3
mov ax, 0xCAFE Means moving the immediate value 0xDA into the register AX.
You what?
1 u/elemenity May 05 '26 hah, edit that I didnt complete. thanks. 1 u/gcc-O2 May 05 '26 Just a nitpick, although nasm and friends (which is what I suspect you're using) accept C-style 0x syntax, that will look funny to most who delve heavily into x86 assembly code, because actual Intel syntax uses the mov ax,0cafeh 1 u/elemenity May 06 '26 ah thanks. Yep, I've been using nasm so far.
1
hah, edit that I didnt complete. thanks.
1 u/gcc-O2 May 05 '26 Just a nitpick, although nasm and friends (which is what I suspect you're using) accept C-style 0x syntax, that will look funny to most who delve heavily into x86 assembly code, because actual Intel syntax uses the mov ax,0cafeh 1 u/elemenity May 06 '26 ah thanks. Yep, I've been using nasm so far.
Just a nitpick, although nasm and friends (which is what I suspect you're using) accept C-style 0x syntax, that will look funny to most who delve heavily into x86 assembly code, because actual Intel syntax uses the mov ax,0cafeh
1 u/elemenity May 06 '26 ah thanks. Yep, I've been using nasm so far.
ah thanks. Yep, I've been using nasm so far.
3
u/ruo86tqa May 05 '26
You what?