[LMH]Microcode again... Status too this time! ^_^

Daniel Seagraves dseagrav@sakura.lunar-tokyo.net
Thu May 16 12:22:01 2002


More stupid questions...

How is the prefetch supposed to work?  Does setting the prefetch bit
(Say, Prefetch-Field-Macro-Prefetch) automaticaly know the address
I am prefetching from, or do I have to put the address somewhere
first?  And which memory does it prefetch from?

How is the ABV-Jump supposed to work? Say I set Jump-Field-Call-Illop - 
Does that immediately jump to 16 (Address-Call-to-Illop) or is there
a trigger for it?

As of right now, only BYTE and ALU operations are completely decoded (but
not all of the bits are handled yet).  I'm doing JUMP right now.
Here's a snapshot of the output if anyonre cares: (It's trying to run the
explorer 2 primitive microcode)

------

Xplorer 2
Loading microcode from file
HEADER BLOCK
Processor ID 5
Version 26
Active Word Length FFFFFFFF
Checksum 0
INSTRUCTION MEMORY BLOCK
Addr 0, count 8F8
A&M MEMORY BLOCK
Addr 0, count 400
END-OF-FILE BLOCK
Ucode Start 7F8, Initial MCR 8500002
Entering microcode run loop
[INF] UPC 7F8,IR 5000240040020400
[INF] I-Prefetch 1
[WRN] Prefetch-Field-Macro-Prefetch
[INF] A-Source 0, M-Source 4, Cond 9
[INF] A-Immediate set
[INF] M-Memory refrence
[INF] ALU opcode, ALU-Opcode 0
[INF] D-addr=A00
[INF] Output Bus Control=2
[INF] Output-Bus-RightShift-1
[INF] FUNCTIONAL DESTINATION 50 - PDL-BUFFER-POINTER
[***] NEXT INSTRUCTION
[INF] UPC 7F9,IR 001824F040020400
[INF] I-Misc 1
[INF] M-Strip 2
[INF] A-Source F0, M-Source 4, Cond 9
[INF] A-Immediate set
[INF] M-Memory refrence
[WRN] M-Strip-Pointer NOT HANDLED
[INF] ALU opcode, ALU-Opcode 0
[INF] D-addr=3
[INF] Output Bus Control=2
[INF] Output-Bus-RightShift-1
[INF] DST - A&M Memory Write
[***] NEXT INSTRUCTION
[INF] UPC 7FA,IR 3000245000020402
[INF] I-Prefetch 3
[WRN] Prefetch-Field-Operand-Fetch-Trans-Write
[INF] A-Source 50, M-Source 4, Cond 9
[INF] A-Immediate set
[INF] M-Memory refrence
[INF] ALU opcode, ALU-Opcode 0
[INF] D-addr=600
[INF] Output Bus Control=2
[INF] Output-Bus-RightShift-1
[INF] FUNCTIONAL DESTINATION 30 - MD
[***] NEXT INSTRUCTION
[INF] UPC 7FB,IR 2600245000020604
[INF] I-Prefetch 2
[INF] ABV-Jump 8
[WRN] Prefetch-Field-Operand-Fetch-Trans-Read
[WRN] Jump-Field-Call-Illop NOT HANDLED
[INF] A-Source 50, M-Source 4, Cond 9
[INF] A-Immediate set
[INF] M-Memory refrence
[INF] BYTE operation 1 - LDB
[INF] Rcnt 10, Rlen 4
[INF] D-addr=4C0
[INF] FUNCTIONAL DESTINATION 23 - VMA-START-IO-WRITE
[INF] VMA = 0
[***] NEXT INSTRUCTION
[INF] UPC 7FC,IR 2600245000020668
[INF] I-Prefetch 2
[INF] ABV-Jump 8
[WRN] Prefetch-Field-Operand-Fetch-Trans-Read
[WRN] Jump-Field-Call-Illop NOT HANDLED
[INF] A-Source 50, M-Source 4, Cond 9
[INF] A-Immediate set
[INF] M-Memory refrence
[INF] BYTE operation 1 - LDB
[INF] Rcnt 13, Rlen 8
[INF] D-addr=4C0
[INF] FUNCTIONAL DESTINATION 23 - VMA-START-IO-WRITE
[INF] VMA = 0
[***] NEXT INSTRUCTION
[INF] UPC 7FD,IR 08C2246008000000
[INF] ABV-Jump 3
[WRN] Jump-Field-POPJ NOT HANDLED
[INF] A-Source 60, M-Source 44, Cond 9
[INF] A-Immediate set
[INF] M-Functional-Source MCR
[INF] JUMP opcode, JUMP-Opcode 0
Done!

------