{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab Quiz - CHAROUT MOVE.B D1,ACIA_O_DR PIA D1,PADR1 SETUP...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
X68K E68K GO MD MM .PC DF CCR IR % # $ TR BR NOBR TRAP #15 SR S68K -L A7 QUEUE STRUCTURE Reading in from keyboard: TRAP: MOVE.B #5,D0 TRAP #15 ACIA: MOVE.B ACIASR,D0 BTST.B #0,D0 BEQ CHARIN MOVE.B ACIA_I_DR,D1 PIA: MOVE.B PBDR1,D1 Output: TRAP: MOVE.B #6,D0; make sure d1 has character TRAP #15 ACIA: CHAROUT: MOVE.B ACIASR,D0 BEQ
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CHAROUT MOVE.B D1,ACIA_O_DR PIA: D1,PADR1 SETUP PIA SETUP ACIA(VALUE FOR POLLING/VALUE FOR INTERUPTS) JMP $48C VS. STOP #$2000 LEA $23C00, A7 A DELAY SO THE ACIA CAN SET UP DIFFERENCE BETWEEN JMP AND BRANCH Push and Pop SETUP PTM...
View Full Document

{[ snackBarMessage ]}