11.07.2015 Views

Program Logic Manual - All about the IBM 1130 Computing System

Program Logic Manual - All about the IBM 1130 Computing System

Program Logic Manual - All about the IBM 1130 Computing System

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

WRTYOUsed by: Assembler Language programs and RPG generated programsSubroutines required: ILSO4Linkage: LIBF WRTYO (BSI 3 TV DISP)DC ARG1DC ARG2]Preoperative input parameters:Function ARG1 ARG2 I/O Area AddressTest/0000Return to this word ifoperation is not completePrint/2000I/O Area AddressWord CountPostoperative conditions and entry points:FunctionSymbolicentry pointReturnaddress atInterruptentry pointReturnaddress atInterruptlevelTest WRTYO WR36+1Print WRTYO WR36+1 INT1 INT1 4Register status:ACC EXT XR1 XR2 XR3 StatusMainlineSaved at/restored fromsymbolic locationSAVA WR30+1 WR32+1 WR34Used X X X XSignificant variables:Symbolic locationCOUNTIOARTEMPIPRINTPRINT+1RIGHTTEMPContents/UseDynamic word counter; number of words remaining to be printed.Pointer to data area, address of last word used.Character to be printed, high order 8 bits was last character printed.First word of IOCC to print character out of TEMPI.Second word of IOCC to print character out of TEMPI.Switch indicating which character in TEMPI will be used next:/0000 = Right character./0001 = Go get next word from date area and use left character.Right half of Sense-with-reset IOCC.176

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!