Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- macro proc string, symbol
- {
- push string
- push symbol
- call _proc
- }
- macro printString string
- {
- push string
- call _printString
- }
- macro openFile fileName, descriptorAddr
- {
- push 3Dh
- push fileName
- push descriptorAddr
- call _openCreateFile
- }
- macro createFile fileName, descriptorAddr
- {
- push 3Ch
- push fileName
- push descriptorAddr
- call _openCreateFile
- }
- macro readFile descriptor, buffer, size
- {
- push descriptor
- push buffer
- push size
- call _readFile
- }
- macro writeFile descriptor, buffer, size
- {
- push descriptor
- push buffer
- push size
- call _writeFile
- }
- macro closeFile descriptor
- {
- push descriptor
- call _closeFile
- }
- macro printString string
- {
- push string
- call _printString
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement