Files
ueforth/examples/code_x64.fs
2022-09-04 17:05:06 -07:00

14 lines
232 B
Forth

#! /usr/bin/env ueforth
asm forth
code my2*
$48 code1, $89 code1, $f8 code1, ( mov %rdi, %rax )
$48 code1, $d1 code1, $27 code1, ( shlq [%rdi] )
$c3 code1, ( ret )
end-code
see my2*
123 my2* . cr
bye