of 2 /2
LDD #$26AC EORA #$0C EORB #$80 ADDA #$1E ABA DECA DECA NEGB STAA $FF00 CLRA Mnozenje ADDA $FF00 DECB BNE Mnozenje ANDA #%11011111 ANDB #%11111110 ASRA RORB ASRA RORB STD $F000 LDY #$F000 STD 2,Y CLC ROR $F001 ROR $F001 LDAB #$AB SBA

SMER_broj-Godina_Zadatak_2

Embed Size (px)

DESCRIPTION

zadatak mkr

Citation preview

Page 1: SMER_broj-Godina_Zadatak_2

LDD #$26AC

EORA #$0C

EORB #$80

ADDA #$1E

ABA

DECA

DECA

NEGB

STAA $FF00

CLRA

Mnozenje ADDA $FF00

DECB

BNE Mnozenje

ANDA #%11011111

ANDB #%11111110

ASRA

RORB

ASRA

RORB

STD $F000

LDY #$F000

STD 2,Y

CLC

ROR $F001

ROR $F001

LDAB #$AB

SBA

ASRB

ASRB

Page 2: SMER_broj-Godina_Zadatak_2

EORB $F000

DEC $F001

DEC $F001

LSLA

ANDA #$F8

COMB

ABA

LDY #$11CE

IDIV

STX $0000

STD $0002