[英]How do i move the contents of AX register to CS register in 8086 Assembly Language
The questions that i have seen suggests that i have to use a JMP or a CALL but how.我看到的问题表明我必须使用 JMP 或 CALL 但如何使用。 I want to replace the instruction
MOV CS, AX
with a valid 8086 instruction(instructions) to resolve the error CS cannot be modified directly (use far JMP or CALL)我想用有效的 8086 指令(指令)替换指令
MOV CS, AX
以解决错误 CS 无法直接修改(使用远 JMP 或 CALL)
Here are a couple of examples:这里有几个例子:
mov ax,segment_value
mov bx,offset_value
push ax
push bx
retf
; ...
DB 0EAh ;far jump
DW offset_value
DW segment_value
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.