Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

indirect far jmp in NASM (Developers)

posted by RayeR Homepage, CZ, 10.05.2012, 10:46

Hi,
I need in code to use indirect far jump that will take the pointer as immediate argument. I mean something like this jmp [0:100] that would not jump at 0:100 but load address from 0:100 and jump to it.
Here is description of JMP where is a possibility of
JMP m16:16
indirect jump. I'm not sure if m16:16 can be a constant or must be done via some segment register only. I need sysntax for NASM. When tried jmp [0:100] I got error: invalid segment override.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 241 users online (0 registered, 241 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum