CS 208: Computer Organization and Architecture

Multiplication on the PDP-8/E

Write a multiplication subroutine for the PDP8. When the subroutine is called via a JMS call, memory locations 0174 and 0175 should contain the 12-bit two's complement factors to be multiplied. After the subroutine is done, location 0176 should contain the low-order word and 0177 the high-order word of the product. Your multiplication routine should take both overflow and sign into account.