Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"fatal error A1016: Internal Assembler Error " when use oword & xmmword

32 views
Skip to first unread message

alt.lang.asm

unread,
Sep 10, 2008, 1:57:47 AM9/10/08
to
MSDN says that MASM Version 6.14 has a 8-byte oword type, but 'TYPE
oword' returns 16.
In the following code, i want to define a initialized 16-byte oword
data , and emulate xmmword
type in MASN Version 6.14, but i failed, it always cause fatal error
A1016: Internal Assembler
Error,
who can tell me why? and how to define a initialized oword or xmmword
16-byte data in MASM
Version 6.14 ?I don't want to use MASM Version 8.0 or later.


;#################################################################
; filename: test.asm
;#################################################################

.686p
.model flat,c
.mmx
.xmm

OPTION CASEMAP:NONE

xmmword struct 16
dq 2 dup (?)
xmmword ends

.DATA

yyy oword 400040004000400040004000400040h
zzz xmmword 400040004000400040004000400040h

end

;#################################################################
; file ends
;#################################################################

Tim Roberts

unread,
Sep 10, 2008, 11:51:22 PM9/10/08
to
"alt.lang.asm" <ladzh...@gmail.com> wrote:
>
>MSDN says that MASM Version 6.14 has a 8-byte oword type, but 'TYPE
>oword' returns 16.
>In the following code, i want to define a initialized 16-byte oword
>data , and emulate xmmword
>type in MASN Version 6.14, but i failed, it always cause fatal error
>A1016: Internal Assembler Error,
>who can tell me why?

Obviously, it's a MASM bug.

It works correctly with constants up to 96 bits long. From 97 bits to 108
bits, it just fails silently. Beyond 108 bits, it gives the internal
error.

>and how to define a initialized oword or xmmword 16-byte data in MASM

I guess you do it one dword or qword at a time.
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.

alt.lang.asm

unread,
Sep 11, 2008, 9:39:28 AM9/11/08
to
On 9月11日, 上午11时51分, Tim Roberts <t...@probo.com> wrote:
> Tim Roberts, t...@probo.com
> Providenza & Boekelheide, Inc.

Thanks ^_^, i think that's the only way.

0 new messages