From 8889e58cf2d09a86b8f831ebd96e7489c59f71a3 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 14 Dec 2024 21:57:55 +0000 Subject: [PATCH] doc: replace @msg assembly items with @block --- doc/sample/Person.iasm | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/doc/sample/Person.iasm b/doc/sample/Person.iasm index e9a7274..b55f3a6 100644 --- a/doc/sample/Person.iasm +++ b/doc/sample/Person.iasm @@ -6,11 +6,6 @@ #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) #14: @selector(-init(name:age:)) @@ -78,7 +73,7 @@ @var[index:#2 ident:#30] @var[index:#3 ident:#31] @var[index:#4 ident:#32] - + @msgh[selector:#14 block:#1000] @msgh[selector:#15 block:#1001] @msgh[selector:#16 block:#1002] @@ -100,7 +95,7 @@ ret.n @end -@msgh [index:#1001] +@block [index:#1001] ldr x0, [pool, #0] ldr x1, [bp, #-1] @@ -122,17 +117,17 @@ ret.n @end -@msgh [index:#1002] +@block [index:#1002] ldr x0, [self, #0] ret @end -@msgh [index:#1003] +@block [index:#1003] ldr x0, [self, #1] ret @end -@msgh [index:#1004] +@block [index:#1004] ldr x0, [self, #1] ldr x1, #12 @@ -141,21 +136,21 @@ ret @end -@msgh [index:#1005] +@block [index:#1005] ldr x0, [bp, #-1] str x0, [self, #0] ret.n @end -@msgh [index:#1006] +@block [index:#1006] ldr x0, [bp, #-1] str x0, [self, #1] ret.n @end -@msgh [index:#1007] +@block [index:#1007] ldr x0, [bp, #-1] ldr x1, [bp, #-2] @@ -192,7 +187,7 @@ L0004: ret.n @end -@msgh [index:#1008] +@block [index:#1008] ldr x1, [bp, #-1] ; x1 = units ldr x2, [pool, #4] ; x2 = #years