doc: update assembly language syntax

This commit is contained in:
2024-12-13 12:26:53 +00:00
parent 3bb94aa36e
commit 97aaffd166
2 changed files with 102 additions and 49 deletions

36
doc/sample/Data.iasm Normal file
View File

@@ -0,0 +1,36 @@
@constpool
#0: "Received "
#1: ", "
#2: @ident(cout)
#3: @selector(-put:)
#4: @atom(years)
#5: @atom(months)
#6: @atom(days)
#7: @ident(_.Person_exampleProperty_get)
#8: @ident(_.Person_exampleProperty_set)
#9: @ident(_.Person_exampleProperty3_get)
#10: @ident(_.Person_exampleProperty3_set)
#11: @ident(_.Person_exampleProperty4_get)
#12: #42
#13: @ident(net.doorstuck.test.Person)
#13: @ident(net.doorstuck.test.Vehicle)
#14: @selector(-init(name:age:))
#15: @selector(-test(param:_:))
#16: @selector(-name)
#17: @selector(-age)
#18: @selector(-ageInMonths)
#19: @selector(-setName:)
#20: @selector(-setAge:)
#21: @selector(-setAge:inUnits:)
#22: @selector(-getAgeInUnits:)
#23: @ident(std.io)
#24: @ident(exampleProperty)
#25: @ident(exampleProperty2)
#26: @ident(exampleProperty3)
#27: @ident(exampleProperty4)
#28: @ident(name)
#29: @ident(age)
#30: @ident(val)
#31: @ident(__exampleProperty3)
#32: @ident(__exampleProperty4)
@end