Welcome![Sign In][Sign Up]
Location:
Search - c to 8086 assembly converter

Search list

[ELanguagecmm

Description: 简单C编译器生成的目标代码是8086的汇编代码(16位),可以在一般的PC上被像MASM之类的汇编编译程序编译,生成可执行文件后,在DOS或Windows控制台下运行。 实现的语言定义如下: 语言类似于tiny语言,不支持过程调用,也就是只有一个main函数,无其他函数和全局变量 基本语句:注释语句(/*…*/),输入语句(int input(void) ),输出语句(void output(int) ),赋值语句。这里的输入输出语句实际上类似于函数调用,可以看作是本语言内部的函数 算术运算符:+、—、*、/ 数据类型:整数.-Simple C compiler generated object code is 8086 assembly code (16), the PC in general were such as MASM compilation compiler compiler to generate executable file, in DOS or Windows console run. The realization of the language are defined as follows: the language is similar to tiny language, do not support the procedure call, that is, there is only one main function, no other function and global variable basic statement: Note statement (/* ...* /), type the statement (int input (void )), the output statement (void output (int)), assignment statements. The input and output statements in fact similar to function calls, can be seen as a function of the language within the Arithmetic Operators: 2B !,-,*,/ data types: integer.
Platform: | Size: 412672 | Author: Tony | Hits:

CodeBus www.codebus.net