Skip to content

Commit

Permalink
Added aarch64 fib example in USM syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
RealA10N committed Dec 2, 2024
1 parent f00c5df commit 10c6c89
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/aarch64fib.usm
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
func $64 @fib $64 %X0 {
%X1 = DEC %X0
%X0 = MOV $64 #0
BLE %X1 .return
%X2 = DEC %X1
BL @fib
%x2 = CALL @fib %n2
%X0 = ADD %x1 %x2
.return
RET
}

0 comments on commit 10c6c89

Please sign in to comment.