<TAMARIN>WORK>DT> LOG .TEDIT M HERRING -- STUFF I DID RECENTLY THAT NEEDS TO BE CAUGHT UP WITH LATER-- WED 21 MAY 86 New LEVADJ for TOPCODES-- RETURN -- used by RETURN RETEI STOP. Perhaps should be used by -X-. TOPCODE-record doc should know. Perhaps in Opcode doc too. New OPPRINT for those 3 guys too. Bob has changed the names of 'UNBIND VARK←UNBIND to 'UNBOUND VARK←UNBOUND. T2D needs to know about this. THU 22 MAY 86 JUMP opcodes jump from the byte after the instruction. -> opcode doc. Nop's renamed to fit. ?-> opcode doc. ASM still thiks NOPs are JUMPKs. NJUMPX/X ASM D-machine not much tested! WED 28 MAY 86 some kind of new opcode RETNP SAT 31 MAY 86 ASM-- CODE: followed by ENTRYVECTOR: means don't use machine's entry vector defaults MON 2 JUN added TCO to DT -- like CO + DT Tue 3 jum 86 Tam fn hdr PC is baseaddr<<2 + offset, as int doc dfrcs btn TAsm's hdr & Tam hdr as loaded xref work>dt>todo.tedit as edited THU 12 JUN 86 Tam fn hdr PC not used. Rather fn hdr proper is followed by 8 words of entry vector, which is true branch vector, each cell in format that PC used to be in. Stack frame starts out with 8 words of Ivars init'd NIL, next 8 of pvars init'd UNBOUND. 1st ivar is VAR8. VARs 6-7 could be used for pvars, but are unused by ass'r. Ass'r allows 7 ivars, treats them all same, for testing. FRI 13 JUN 86 In ASM: the 8-word entry vector following fn hdr in Tam: the i'th slot (i=0..7) gets the pc of the label ENTRYi: if any else that of the label ENTRY: if any else the pc of the beginning of the code also keep STARTPC field in Tam fn hdr for now: tells printcode where the code starts. Also in ASM: UNBIND & DUNBIND take (n) argument. n is absolute stack value. Note however that i/c UNBIND, n must be the value the stack is set to before pushing the old TOS there. This is for compatibility with (UNBIND label) as needed for DT; sort of conceptual compatibility with D-machine. Also for gratuituous confusion of people using this feature. FRI 20 JUN old note: need LEVADJ's for APPLYFN, RETEI, CONTEXTSWITCH