Signed Decimal Print, Double Precision

Order Number: DIGITAL-8-25-U-SYM

This document details a software subroutine for the PDP-8 computer designed to output the contents of two consecutive memory words as a signed, double-precision, decimal integer.

Key information includes:

  • Functionality: It interprets the input as a two's complement number. If the number is negative, it prints a minus sign; if positive, it prints a space. It outputs seven consecutive decimal digits.
  • Requirements: The subroutine requires 86 core locations and is intended for use on a basic PDP-8 with an ASR-33 teletype.
  • Operation: The routine is called via JMS SDPRNT. It calculates the absolute value of the number before performing the conversion to decimal format for output.
  • Documentation: The document provides the complete program listing in PAL III/MACRO-8 assembly language, a flow chart for the logic, and references to related library programs.
DIGITAL-8-25-U-SYM
2000
12 pages
Quality

Original
0.5MB

Site structure and layout ©2025 Majenko Technologies