pre6 - LDAA$9004 CMPA#$00 BNENOTZERO CLR$9001 NOTZEROJMPEND...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 ORG$8000 LDAA$9000 CMPA#$00 00 MEANS ADDITION BEQADD CMPA#$01 01 MEANS SUBTRACTION BEQSUB CMPA#$02 02 MEANS MULTIPLICATION BEQMULT CMPA#$03 03 MEANS DIVISION BEQDIV CMPA#$04 04 MEANS FLOATING POINT MULTIPLICATION BEQFPMULT JMPEND ADDLDAA$9001 EORA$9002 BNESUB1 ADD1LDAA$9004 ADDA$9006 STAA$9004 LDAA$9003 ADCA$9005 STAA$9003 ROL$9007 JMPEND SUBLDAA$9001 EORA$9002 BNEADD1 SUB1CLR$9007 COM$9006 COM$9005 LDAA$9006 ADDA#$01 STAA$9006 LDAA$9005 ADCA#$00 STAA$9005 LDAA$9004 ADDA$9006 STAA$9004 LDAA$9003 ADCA$9005 STAA$9003 S BCSAgrtrB COM$9003 COM$9004 LDAA$9004 ADDA#$01
Background image of page 1

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

View Full DocumentRight Arrow Icon
Sheet1 Page 2 STAA$9004 LDAA$9003 ADCA#$00 STAA$9003 LDAA$9001 EORA#$01 STAA$9001 JMPEND AgrtrBLDAA$9003 CMPA#$00 BNENOTZERO
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: LDAA$9004 CMPA#$00 BNENOTZERO CLR$9001 NOTZEROJMPEND MULTLDAA$9002 EORA$9003 STAA$9001 CLR$9004 LDAB#$08 LDX#$9005 LOOPBRCLR$00,X $01QNZERO LDAA$9006 ADDA$9004 STAA$9004 QNZEROROR$9004 ROR$9005 DECB BNELOOP JMPEND DIVLDAA$9001 EORA$9003 STAA$9002 LDAB#$08 PSHB LDAA$9004 LDAB$9006 NEGB ABA BCCGO_ON ROL$9007 JMPEND GO_ONCLR$9007 LDX#$9005 Sheet1 Page 3 LOOP2LDAA$9004 LDAB$9005 LSLD STAA$9004 STAB$9005 BCCEZERO LDAB$9006 NEGB ABA STAA$9004 QNONEBSET$00,X $01 JMPDECSC EZEROLDAB$9006 NEGB ABA BCSQNONE NEGB ABA STAA$9004 DECSCPULB DECB BEQEND PSHB JMPLOOP2...
View Full Document

This note was uploaded on 04/09/2010 for the course EE ee446 taught by Professor Guran during the Spring '10 term at Middle East Technical University.

Page1 / 3

pre6 - LDAA$9004 CMPA#$00 BNENOTZERO CLR$9001 NOTZEROJMPEND...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online