Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Hello-world-Text/PDP-11-Assembly/hello-world-text.pdp11
Normal file
11
Task/Hello-world-Text/PDP-11-Assembly/hello-world-text.pdp11
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.globl start
|
||||
.text
|
||||
start:
|
||||
mov $1,r0 / r0=stream, STDOUT=$1
|
||||
sys 4; outtext; outlen / sys 4 is write
|
||||
sys 1 / sys 1 is exit
|
||||
rts pc / in case exit returns
|
||||
|
||||
.data
|
||||
outtext: <Hello world!\n>
|
||||
outlen = . - outtext
|
||||
Loading…
Add table
Add a link
Reference in a new issue