
4.7.4 The Internals structure
Shell.Options.Internals
val showMach: bool option
true, show object code during compilation. The object code is the final result of the ML compilation procedure. Once generated, the object code is executed.
showMach set to true:
MLWorks> val x = 1; The final machine code [Sparc_Assembly Code] for <Setup>[<Listener #1>:1,1] taddcctv alloc, alloc, #8 ; Attempt to allocate some heap or arg, limit, #1 ; Tag allocated pointer add limit, limit, #8 ; Advance allocation point mov g7, #4 st g7, [arg, #~1] mov o2, #4 retl ; Ordinary return st o2, [arg, #3] val x : int = 1 MLWorks>

Generated with Harlequin WebMaker