Frank Nothaft

Today, I did research into programming and started actually writing the code for my project. I have much more learning to do, especially because learning to work in the interrupts, which will be a major part of my project, will be a pain.

Here is the code, as presently written:

MAIN:
mov.L #adc8address,A0
mov.L #ramaddress,A1
mov.L #lookup,A4
mov.L #adcaddress1,A2
mov.L #dacaddress,A5
mov.B #8,D0
1$ mov.L (A0)+,(A1)+
sub.B D0,#1
cmp.B D0,#0
beq 1$

INT7:
mov.L D2,#8
mov.L A1,A3
mov.L D1,#0
sub.L A1,#8
3$ mov.L (A2)+,(A4)+
mov.L (A1)+,(A4)+
add.L (A4),D1
sub.L (A4),#2
sub.L D2,#1
cmp.B D0,#0
beq 2$
bra 3$
2$ jmp 1$

Powered By Website Baker