Staudacher Comment Posted

David Staudacher added a great comment about the “standard” entry code I posted. His assembly listing was mangled by the WordPress comment handler. I’m including an image of what he had in mind here.
<

2 thoughts on “Staudacher Comment Posted”

  1. Another way of getting your load point into a register is to use
    LARL Rx,
    Yes it is a 6 byte instruction, but this will work in all addressing modes (when you receive control in AMODE 64, R15 does NOT have your entry point address)
    And further more, if you have GOFF enabled, then LARL (and all the other branch relative immediate instructions) can refer to externals – the binder will update the immediate operand for you.

Leave a Reply to dwoolbrightCancel reply