NameDateSize

..22-Dec-201617

code.cH A D24-Jul-20144.7 KiB

local.cH A D24-Jul-201417.8 KiB

local2.cH A D22-Dec-201627.2 KiB

macdefs.hH A D22-Dec-20167.1 KiB

order.cH A D03-Jun-20104.4 KiB

READMEH A D23-Aug-2008727

table.cH A D03-Jun-201024.5 KiB

README

1
2
3PDP10 C calling convention
4--------------------------
5Register 1-7 are argument registers.  Types of sizes up to 36 bits are
6given in one register, two otherwise.  CHAR and SHORT are given as INTs.
7
8If the argument that would end up in register 7 requires two registers,
9it is saved on the stack instead and no more registers would end up
10on the stack.
11
12struct return: a hidden argument containing the address of the struct
13is stored as the first argument _on_the_stack_, never in register.
14
15struct argument: always saved on stack, and terminates the list 
16of arguments that are kept in registers.
17
18In case of debugging all arguments are saved on stack in the function.
19
20All variadic arguments are always saved on the stack.
21