Content deleted Content added
→"Hell World" does nto need savearea: new section |
|||
Line 27:
[[Special:Contributions/24.130.152.247|24.130.152.247]] ([[User talk:24.130.152.247|talk]]) 17:56, 3 April 2010 (UTC)
== "Hell World" does
The "Hello World" example stacks a new savearea. This is not necessary, because the "WTO" ("write to operator") eventually expands into a "supervisor call" hardware instruction. Supervisor call handlers in the operating system save and restore registers into their own savearea, not into the savearea pointed to by register 13 upon invocation. Savearea's typically are needed if routines are invoked by a CALL macro instruction, which expands into a BAL or BALR instruction, that invokes the required routine directly, without supervisor involvement (supervisor = operating system).
|