Re: MASM instructions
- From: ArarghMail611NOSPAM@xxxxxxxxxxxxxxxxx
- Date: Tue, 21 Nov 2006 23:48:29 -0600
On 21 Nov 2006 21:09:48 -0800, bob@xxxxxxxxxxxxxx wrote:
ArarghMail611NOSPAM@xxxxxxxxxxxxxxxxx wrote:
On 20 Nov 2006 18:53:26 -0800, bob@xxxxxxxxxxxxxx wrote:
I was just wondering how to see which instructions are supported in
MASM. In particular, I want to know if the LGDT instruction is
supported. I can't get it to compile.
It is. Need to specify ".386P" or somesuch
It still doesn't work even with .386P, .486P, .586P, and .686P.
You need MASM 5.00 or later.
Yes it does:
Microsoft (R) Macro Assembler Version 5.10 11/21/6
.286p
.model small,basic
.data
0000 00000000 gdt dd 0
.code
0000 zxcv Proc
0000 0F 01 16 0000 R lgdt fword ptr gdt
0005 C3 ret
0006 zxcv endp
end
--
ArarghMail611 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
To reply by email, remove the garbage from the reply address.
.
- References:
- MASM instructions
- From: bob
- Re: MASM instructions
- From: ArarghMail611NOSPAM
- Re: MASM instructions
- From: bob
- MASM instructions
- Prev by Date: raghu protected mode
- Next by Date: Re: raghu protected mode
- Previous by thread: Re: MASM instructions
- Next by thread: Re: MASM instructions
- Index(es):
Relevant Pages
|