中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-14 23:33
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » I wrote an x86 assembly language compiler. Those who want to play, come in.
Printable Version  28,128 / 23
Floor1 blackoil Posted 2005-11-26 23:28
初级用户 Posts 18 Credits 58 From 广州
Grammar is similar to NASM

[ Last edited by blackoil on 2006-1-13 at 12:47 ]
Floor2 Wengier Posted 2005-11-27 10:11
系统支持 Posts 10,521 Credits 27,736
The forum can upload files. When posting, you can use the "Upload Attachment" function below to upload files.
Floor3 blackoil Posted 2005-11-27 10:24
初级用户 Posts 18 Credits 58 From 广州

Attachments
iaa.zip (15.76 KiB)
Floor4 bush Posted 2005-11-27 12:23
银牌会员 Posts 730 Credits 2,165
Compiler?!
Come and learn!
Floor5 Wengier Posted 2005-11-27 12:25
系统支持 Posts 10,521 Credits 27,736
It is best to briefly introduce its characteristics to facilitate everyone's testing and use.
Floor6 blackoil Posted 2005-11-28 00:50
初级用户 Posts 18 Credits 58 From 广州
The grammar is very simple, similar to nasm.
[Label] opcode [type-specifier] operand...

For example: Label001 mov word [cs : bx + si + 1234] , dx

The following is a simple code example:
org 100h
mov ah,0eh
mov al,'Y'
int 10h

mov ax,4c00h
int 21h
Floor7 kdlipm Posted 2005-12-05 00:41
初级用户 Posts 16 Credits 31
What's that? The screen flashed and then disappeared!
Floor8 blackoil Posted 2005-12-13 15:57
初级用户 Posts 18 Credits 58 From 广州
You need to first open the command line.
Floor9 LiveOnLove Posted 2005-12-20 22:44
中级用户 Posts 161 Credits 493 From ZHCN
Can it be directly written into an executable file?
Floor10 blackoil Posted 2005-12-21 21:11
初级用户 Posts 18 Credits 58 From 广州
Just output bin format directly because I don't know obj format. I'll add it later when I have time. If anyone is interested in teaching me, that's also okay.
Floor11 ada008 Posted 2007-02-03 03:23
初级用户 Posts 8 Credits 27
This is a series of repeated "ding" (top) characters. Since there is no specific meaningful text to translate in the traditional sense, we can just present the original content as it is.

In English, it remains as:

顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶          顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶                顶顶
顶顶顶顶顶顶顶顶顶顶   顶顶          顶顶顶顶顶顶顶
顶顶顶顶顶顶       顶顶  顶顶顶    顶顶顶顶顶顶顶顶
顶             顶顶顶顶顶顶顶   顶顶顶顶顶顶顶顶顶
顶           顶顶顶顶顶顶顶顶         顶顶顶顶
顶顶         顶顶顶顶顶顶顶顶            顶顶
顶顶顶 顶顶顶    顶顶顶顶顶顶    顶顶顶顶顶     顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶顶  顶顶顶 顶顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶顶  顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶顶  顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶   顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶   顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶   顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶  顶顶顶  顶顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶  顶顶顶  顶顶顶顶   顶顶顶
顶顶顶        顶顶顶顶顶顶 顶顶  顶顶顶顶    顶顶顶
顶顶顶顶       顶顶顶顶顶顶顶顶顶  顶顶 顶顶顶  顶顶顶
顶顶顶顶顶顶     顶顶顶顶顶顶顶顶   顶顶    顶顶顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶顶顶    顶顶顶      顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶     顶顶顶顶顶      顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶    顶顶顶顶顶顶顶顶     顶
顶顶顶顶顶顶顶顶顶顶顶顶顶     顶顶顶顶顶顶顶顶顶顶    顶
顶顶顶顶顶顶顶顶顶顶顶顶  顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶  顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
Floor12 goodboyfast Posted 2008-09-06 19:42
新手上路 Posts 5 Credits 14
This is just a series of repeated "top" characters. It doesn't have a specific meaningful sentence in the traditional sense. So the translated text is the same as the original content since it's just a repetition of "top" characters.

顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶          顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶                顶顶
顶顶顶顶顶顶顶顶顶顶   顶顶          顶顶顶顶顶顶顶
顶顶顶顶顶顶       顶顶  顶顶顶    顶顶顶顶顶顶顶顶
顶             顶顶顶顶顶顶顶   顶顶顶顶顶顶顶顶顶
顶           顶顶顶顶顶顶顶顶         顶顶顶顶
顶顶         顶顶顶顶顶顶顶顶            顶顶
顶顶顶 顶顶顶    顶顶顶顶顶顶    顶顶顶顶顶     顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶顶  顶顶顶 顶顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶顶  顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶顶  顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶   顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶   顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶   顶顶   顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶  顶顶顶  顶顶顶顶   顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶  顶顶顶  顶顶顶顶   顶顶顶
顶顶顶        顶顶顶顶顶顶 顶顶  顶顶顶顶    顶顶顶
顶顶顶顶       顶顶顶顶顶顶顶顶顶  顶顶 顶顶顶  顶顶顶
顶顶顶顶顶顶     顶顶顶顶顶顶顶顶   顶顶    顶顶顶顶顶
顶顶顶顶顶顶顶顶   顶顶顶顶顶顶顶    顶顶顶      顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶     顶顶顶顶顶      顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶    顶顶顶顶顶顶顶顶     顶
顶顶顶顶顶顶顶顶顶顶顶顶顶     顶顶顶顶顶顶顶顶顶顶    顶
顶顶顶顶顶顶顶顶顶顶顶顶  顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶  顶顶
顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
Floor13 enjoyer Posted 2008-09-07 13:59
中级用户 Posts 140 Credits 351
It's an assembler, not a compiler. Please correct the wording (it might mislead newbies). Don't take offense, LZ.
Floor14 justfllow Posted 2009-10-24 17:22
新手上路 Posts 3 Credits 6
Floor15 373061200 Posted 2009-10-24 20:20
初级用户 Posts 33 Credits 52
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023