Hi,
Anyone knows how to use the record type for making bits record ?
Posted on 2006-09-24 12:31:31 by Axial

.686
.MODEL FLAT, STDCALL

REC1 RECORD last:1, third:1, second:1, first:1

STRC STRUCT
Rec1 REC1 <>
STRC ENDS

.DATA?
Struct1 STRC <>
Struct2 STRC <>

.CODE
Start:
assume eax:ptr STRC
mov .Rec1, MASK first
or , MASK last
END Start


There are also some nice examples in the old MASM documentation.
Posted on 2006-10-04 10:55:39 by MazeGen