Source code of MARS Assembler
First commit of the 4.5 version (latest version available)
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Example of re-assign syscall number. Remove leading "#" to activate.
|
||||
# I re-assign to same number since I don't really want to change them.
|
||||
# None are necessary here since number is assigned as constructor arg.
|
||||
# Re-assignment here will override constructor arg though.
|
||||
# The syscall names must match constructor arg exactly, case-sensitive.
|
||||
# Re-assignment useful if numbering conflict should someday occur.
|
||||
PrintInt = 1
|
||||
PrintFloat = 2
|
||||
PrintDouble = 3
|
||||
PrintString = 4
|
||||
ReadInt = 5
|
||||
ReadFloat = 6
|
||||
ReadDouble = 7
|
||||
ReadString = 8
|
||||
Sbrk = 9
|
||||
Exit = 10
|
||||
PrintChar = 11
|
||||
ReadChar = 12
|
||||
Open = 13
|
||||
Read = 14
|
||||
Write = 15
|
||||
Close = 16
|
||||
Exit2 = 17
|
||||
Time = 30
|
||||
MidiOut = 31
|
||||
Sleep = 32
|
||||
MidiOutSync = 33
|
||||
PrintIntHex = 34
|
||||
PrintIntBinary = 35
|
||||
PrintIntUnsigned = 36
|
||||
RandSeed = 40
|
||||
RandInt = 41
|
||||
RandIntRange = 42
|
||||
RandFloat = 43
|
||||
RandDouble = 44
|
||||
ConfirmDialog = 50
|
||||
InputDialogInt = 51
|
||||
InputDialogFloat = 52
|
||||
InputDialogDouble = 53
|
||||
InputDialogString = 54
|
||||
MessageDialog = 55
|
||||
MessageDialogInt = 56
|
||||
MessageDialogFloat = 57
|
||||
MessageDialogDouble = 58
|
||||
MessageDialogString = 59
|
||||
Reference in New Issue
Block a user