annotate ppc/test/print.p @ 0:bfdcc3820b32

Basis
author Mike Spivey <mike@cs.ox.ac.uk>
date Thu, 05 Oct 2017 08:04:15 +0100
parents
children
rev   line source
mike@0 1 (* print.p *)
mike@0 2
mike@0 3 begin
mike@0 4 print_num(2); newline()
mike@0 5 end.
mike@0 6
mike@0 7 (*<<
mike@0 8 2
mike@0 9 >>*)
mike@0 10
mike@0 11 (*[[
mike@0 12 MODULE Main 0 0
mike@0 13 IMPORT Lib 0
mike@0 14 ENDHDR
mike@0 15
mike@0 16 PROC MAIN 0 0 0
mike@0 17 ! print_num(2); newline()
mike@0 18 CONST 2
mike@0 19 CONST 0
mike@0 20 GLOBAL lib.print_num
mike@0 21 PCALL 1
mike@0 22 CONST 0
mike@0 23 GLOBAL lib.newline
mike@0 24 PCALL 0
mike@0 25 RETURN
mike@0 26 END
mike@0 27
mike@0 28 ! End
mike@0 29 ]]*)