MASM

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

MASM

Post by kataklinger »

Well maybe this is a stupid question, but I'm sick of it! How I can write on MASM something like this : "jmp CODE32_SELCTOR:start"????  
mindvnas

RE:MASM

Post by mindvnas »

use db 066h, 0EAh / dd start, code_sel or db 0EAh / dd offset start, code_sel
depending on default operand size (ie. first for jumping to 32bit from 16bit, second for 32bit to 32bit).
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

RE:MASM

Post by kataklinger »

OK! Thanks! But now I'm using nasm's -Xvc for MSVS ;). But anyway thanks! Mayby it'll help!
Post Reply