Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
section dseg bits 16 gdt: code_descriptor: ....... section cseg bits 16 start: mov ax, seg dseg
当我编译这个文件时,它说:
错误:符号“dseg”未定义。
怎么了?以及如何调用cseg的偏移地址?
试试这个:
bits 16 section dseg ; ... section cseg start: mov ax, dseg ; ...