release

来自「坦尼保姆」· 代码 · 共 34 行

TXT
34
字号
	IMPLEMENTATION ISSUES AND PROBLEMSThe assembler requires that the sections are defined in the order TEXT, DATA, BSS. After the first occurrences, the remaining sectiondirectives can appear in any order. It is advisable to give the 0addresses in all three sections a global label, so they can bereferred to by code and data. The header file "syscalnr.h" definesthe system call numbers and the sections in the right order.It also supplies the initial labels "TxtSectHd" and "DaSecHd",so all the requirements are automatically met if it is included inthe first line of the (first) source file.It is necessary that the names of labels, variables and constantsare unique over all source files. The line numbers mentioned by theassembler in case of errors and warnings are with respect to the ".$"file. This means, for example, that the position of the error in the".s" file will be 20 lines lower when the file with system callnumbers "syscalnr.s" is included in the first line.There are several known bugs as follows:1.   There is a problem in the overflow flag and the carry flag in     the IMUL.2.   Far jumps and calls generate segmentation faults and must not     be used.3.   In instructions with segment override, the source list pointer     in the tracer misses one instruction, and in the segment register     change the stack window loses track of where it is.Our intention is to correct the problems with the segmentregisters in forthcoming versions.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?