Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Integer-sequence/360-Assembly/integer-sequence.360
Normal file
15
Task/Integer-sequence/360-Assembly/integer-sequence.360
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
* Integer sequence 06/05/2016
|
||||
INTSEQED CSECT
|
||||
USING INTSEQED,12
|
||||
LR 12,15
|
||||
LA 6,1 i=1
|
||||
LOOP CVD 6,DW binary to pack decimal
|
||||
MVC WTOMSG+4(12),EM12 load mask
|
||||
ED WTOMSG+4(12),DW+2 packed dec to char
|
||||
WTO MF=(E,WTOMSG) write to console
|
||||
LA 6,1(6) i=i+1
|
||||
B LOOP goto loop
|
||||
WTOMSG DC 0F,H'80',H'0',CL80' '
|
||||
DW DS 0D,PL8 pack dec 15num
|
||||
EM12 DC X'402020202020202020202120' mask CL12 11num
|
||||
END INTSEQED
|
||||
Loading…
Add table
Add a link
Reference in a new issue