- DLX machine consists of 32 registers from r0 to r31
r31 Jr Register
r1 to r30 can be used for program
- DLX machine RAM depends on dsim.cfg file
dsim new bus dsim.bus.Bus
dsim new cpu dsim.dlxcpu.Dlxcpu
dsim connect bus$slot0 cpu$dlxbus
dsim new ram dsim.ram.Ram 00000 4000
dsim connect bus$slot2 ram$dlxbus
In this case, DLX machine consist of Ram upto 4000 from 0 (Ex 0,4,8,12..4000)
- DLX machine consists of IO Devices includes switches and lights
Address of lights and switches depends on dsim.cfg file
dsim new lights dsim.lights.Lights FFFFFFF8
dsim connect bus$slot1 lights$dlxbus
dsim new switches dsim.switches.Switches FFFFFFFC
dsim connect bus$slot3 switches$dlxbus
Address for lights :FFFFFFF8
Address for switches:FFFFFFFC
Awesome great help
ReplyDeletealso kindly post the link to the dlx simulator you are using that would be really helpful....!
ReplyDelete