mirror of
https://github.com/NishiOwO/JWasm.git
synced 2025-04-22 01:04:39 +00:00
26 lines
474 B
NASM
26 lines
474 B
NASM
|
|
.386
|
|
.model flat
|
|
|
|
EMM59 struct
|
|
e59_pgsize dw ? ;raw page size in paragraphs
|
|
e59_altsets dw ? ;number of alternate register sets
|
|
e59_sizcont dw ? ;size of mapping context save area in bytes
|
|
e59_dmasets dw ? ;dma register sets
|
|
e59_dmaflgs dw ? ;dma flags
|
|
EMM59 ends
|
|
|
|
.data
|
|
|
|
x1 EMM59 <1,2,3,4,5>
|
|
x2 EMM59 2 dup (<1,2,3,4,5>)
|
|
|
|
.code
|
|
|
|
mov ecx, size x1
|
|
mov ecx, length x1
|
|
mov ecx, size x2
|
|
mov ecx, length x2
|
|
|
|
END
|