pdp11 PDP11 Programming tips and code fragments
 MDFS::Info.Comp.PDP11.ProgTips Search  
Arithmetic
Arithmetic  Some arithmetic code
AddSub32  32-bit addition and subtraction
Multiply32  32-bit multiply
Divide32 32-bit divide
Conversions and calculations
SqRoot 
SqRootTest (L
Calculate integer Square Root
Integer Square Root BASIC source and test code
DayOfWeek 
DofWeek (L)
Calculating day of week
Day of Week BASIC source and test code
Input/Output
AnsiKBD.mac  Parsing ANSI keyboard input
AnsiVDU.mac  Converting to ANSI VDU output
Displaying numbers
PrDecimal  Printing small numbers in decimal
Various things
Debug.mac Various debug subroutines
UnixRT  Creating a combined RT11/Unix runtime binary
Radix50  Encoding/decoding a Radix50 filename
CRC calculation
CRC-8 Calculating 8-bit CRCs
CRC16  Calculating CRC-16 for XMODEM and Acorn CFS/RFS
CRC32  Calculating CRC-32 for ZIP files
Calling Unix system calls
System  Calling exec() to execute a file
ClaimMem  Calling brk() to claim memory
Documentation
PDP11  PDP11 documentation
RT11  RT11 documentation
Unix  Unix documentation
Programs and tools
BBCBasic  BBC BASIC for the PDP11
DisAssem  BBC BASIC PDP11 disassembler
Assembler  BBC BASIC PDP11 assembler

Best viewed with Any Browser Valid HTML 4.0! Authored by J.G.Harston
Last update: 26-Sep-2020