Solar Assembler: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Line 40: Line 40:
USES eax, ebx \
USES eax, ebx \
Var1:DWORD, Var2:BYTE
Var1:DWORD, Var2:BYTE
LOCAL Var3
LOCAL Var3:WORD


...
...
Line 49: Line 49:
USES eax ebx \
USES eax ebx \
Var1:DWORD, Var2:BYTE
Var1:DWORD, Var2:BYTE
LOCAL Var3
LOCAL Var3:WORD


...
...
Line 99: Line 99:
or
or
Buffer: rb 256
Buffer: rb 256
</source>
|-
| I/O ports
| <source lang="asm">
in al, [92h]
or al, 02h
out [92h], al
</source>
| <source lang="asm">
in al, 92h
or al, 02h
out 92h, al
</source>
| <source lang="asm">
in al, 92h
or al, 02h
out 92h, al
</source>
| <source lang="asm">
in al, 92h
or al, 02h
out 92h, al
</source>
</source>
|}
|}