I'm trying to get some assembly code to run on my 11/23 by entering it in
at the ODT, and it seems like I'm having trouble with device I/O
addresses.
All I've got in the machine right now is the CPU card, an M8044 with 32kW
at address 0, and the DLV-11J, set up so that port 3 works with ODT as a
console port.
I've got a DLV11-J set up so that port 3 is the console, and I can
interact with ODT just fine. However, when I try entering something that
should read or write to the console, nothing happens.
Below is a listing of the assembled code I'm trying - I got the I/O
address out of a PDP-11 assembly programming book I got from the library.
Most likely the book was written with a UNIBUS -11 in mind, not a QBUS
one... is that a problem?
1 000000 LC=.
2 001000 .=LC+1000
3
4 177564 XSR=177564
5 177566 XBUF=177566
6
7 001000 012767 000110 177566' MOV #110,XBUF
8 001006 105767 177564' L1: TSTB XSR
9 001012 100375 BPL L1
10 001014 012767 000064 177566' MOV #64,XBUF
11 001022 105767 177564' L2: TSTB XSR
12 001026 100375 BPL L2
13 001030 012767 000130 177566' MOV #130,XBUF
14 001036 105767 177564' L3: TSTB XSR
15 001042 100375 BPL L3
16 001044 012767 000060 177566' MOV #60,XBUF
17 001052 105767 177564' L4: TSTB XSR
18 001056 100375 BPL L4
19 001060 012767 000122 177566' MOV #122,XBUF
20 001066 105767 177564' L5: TSTB XSR
21 001072 100375 BPL L5
22 001074 000005 RESET
23 001076 000000 HALT
-- Pat
Received on Mon Sep 16 2002 - 12:37:00 BST
This archive was generated by hypermail 2.3.0
: Fri Oct 10 2014 - 23:35:39 BST