- movl $13, r8 #max length of temp name
- brb l3511
-#
-# name is given, strip trailing blanks
-#
-l3508:
- bicw2 $TEMP,FUNIT( r11)#set permanent status
- moval 4(ap),r0 #r0 pts to end of file name
- addl3 r8,r0,r1 #r1 pts to end of name
-l3509:
- cmpb -(r1),$blank #delete trailing blanks
- bneq l3511 #(note: could use "scanc" with source
- clrb (r1) # and table reversed)
- sobgtr r8,l3509
+ movl r0, r8 #ptr to new temp name
+ movl $16,r2 #maximum name length
+ brb l3512