[TUHS] as(1) on Ultrix-11 vs 2.11BSD

Paul Ruizendaal pnr at planet.nl
Wed Apr 29 23:55:41 AEST 2020


> Sorry, I typed that in haste without testing. I don’t have a 2.11 system to try it on. However, reading the source code, I did that wrong. The args go on the stack, not in line with the code.
> mov $6, -(sp)
> mov a, -(sp)
> mov $1,-(sp)
> sys 4

Without suggesting that every helpful post should be tested, I find the superb https://unix50.org web emulator excellent for such things.

Many thanks to the folks hosting & maintaining this great resource!



More information about the TUHS mailing list