- 0
- 0
- 约1.78万字
- 约 5页
- 2023-04-24 发布于上海
- 举报
Design Principles
or why flat assembler is different?
The purpose of this article is to describe the main ideas that led the flat assembler project during the all time of its development. The initial design nominates the direction in which the program can evolve and limits somewhat the possible extensions to its capabilities. I wrote this text to explain how flat assembler has come to the point where it is and what were the reasons for the many desing decision I made.
The Roots - Turbo Assembler versus Netwide Assembler
When I have learned the assembly language, I was exclusively using the Borlands Turbo Assembler, but it was a commercial product and I didnt own a personal copy. Thats why I got interested in the new these days product, Netwide Assembler, which was free and even open source. But, though I did like some of its ideas, I was generally disappointed by the lack of many features I was used to while using TASM. So I gave it up and never even started using NASM for any of my projects. Instead I tried, with success, writing my own assembler (actually I wrote two, fasm being the latter one, but I will skip over describing the first one, as it had the same syntax and less features), with capabilities enough to assemble all my previosly written projects with only small source changes.
It should be then obvious, that the syntax Ive chosen for fasm, was primarily imitating the one I was using when programming with TASM, and its important to note that TASM offered two modes, with different syntaxes, first and default being the MASM-compatiblity mode, and the second one called Ideal mode. After learning the basics of assembly language I have quickly switched to the Ideal mode, as I found it easier and less confusing.
There are two main characteristics of the Ideal mode that I followed when designing the syntax for flat assembler. The first one is the syntax for accessing contents of memory. TASM with Ideal mode selected requires such operand to be always surrounded
您可能关注的文档
- 2021年pep小升初英语模拟测试题.docx
- 02197概率论与数理统计重点复习资料.docx
- 06001惠港酒店发文格式.docx
- 06005 统一打卡通知.docx
- 06092工作分析八套试卷 答案.docx
- 10000汉字起笔部首表.docx
- 11000地形测量技术设计.docx
- 20000字起笔部首检字表.docx
- 20148小继教培训心得体会.docx
- 20151人教版三年级数学上册教学工作总结.docx
- Developer Relations Policy Guide分析和总结分析和总结.docx
- Device File System Guide分析和总结分析和总结.docx
- EPON中ONU注册流程分析和总结.docx
- GLSA Coordinator Guide分析和总结分析和总结.docx
- Home Router Guide分析和总结分析和总结.docx
- How to fi autotools failures分析和总结分析和总结.docx
- Introduction to Samba Part 1分析和总结分析和总结.docx
- Introduction to Samba Part 2分析和总结分析和总结.docx
- Introduction to Samba Part 3分析和总结分析和总结.docx
- JAF通用刷机 超详细教程 必看.docx
最近下载
- 人教版七年级英语下册阅读专项训练60篇 含答案.pdf VIP
- 2026福建水投集团长汀水务有限公司招聘6人考试参考试题及答案解析.docx VIP
- 2025版环境检测机构质量手册符合GBT27025体系要求(可编辑!).pdf VIP
- DH-CG400图像采集卡使用说明书.pdf VIP
- 糖尿病血脂指南解读.pptx
- 北师大版八年级(上)期末数学压轴题系列专题练习(含答案).docx VIP
- 冷热数据分级存储.pptx VIP
- 年会搞笑小品剧本创意节目策划《算命》.docx VIP
- 《2025版中国抑郁障碍防治指南》解读PPT课件.pptx VIP
- 2025年2年级期中测试卷a数学上册.doc VIP
原创力文档

文档评论(0)