mirror of
https://github.com/NishiOwO/JWasm.git
synced 2025-04-22 01:04:39 +00:00
29 lines
412 B
Plaintext
29 lines
412 B
Plaintext
|
|
;--- another Masm 5.1 structure access test
|
|
|
|
.286
|
|
.model small
|
|
|
|
OPTION OLDSTRUCTS
|
|
|
|
includelib <regext.lib>
|
|
|
|
.stack
|
|
|
|
extern stdDeviceAssignTable:near
|
|
|
|
STDREDIREC struc
|
|
stdDriverName db '????????'
|
|
stdIOHandle dw ?
|
|
stdDevInfo dw ?
|
|
STDREDIREC ends
|
|
|
|
.code
|
|
|
|
start:
|
|
mov ax, ds:[ 1 * sizeof STDREDIREC ]. stdDeviceAssignTable. stdIOHandle
|
|
mov ah, 4Ch
|
|
int 21h
|
|
|
|
End start
|