## AS8085 Assembler

####

#####

    8085 REGISTER SET

    The  following  is  a  list  of  the 8080/8085 registers used by
    AS8085:

            a,b,c,d,e,h,l   -       8-bit accumulators
            m               -       memory through (hl)
            sp              -       stack pointer
            psw             -       status word

    8085 INSTRUCTION SET

       The  following tables list all 8080/8085 mnemonics recognized
    by the AS8085  assembler.   The  following  list  specifies  the
    format for each addressing mode supported by AS8085:

            #data           immediate data
                            byte or word data

            r,r1,r2         register or register pair
                            psw,a,b,c,d,e,h,l
                            bc,de,hl,sp,pc

            m               memory address using (hl)

            addr            direct memory addressing

            label           call or jump label

    The terms data, m, addr, and label may be expressions.

       Note  that  not all addressing modes are valid with every in-
    struction, refer to  the  8080/8085  technical  data  for  valid
    modes.

    Inherent Instructions

            cma             cmc
            daa             di
            ei              hlt
            nop             pchl
            ral             rar
            ret             rim
            rrc             rlc
            sim             sphl
            stc             xchg
            xthl

    Register/Memory/Immediate Instructions

            adc     r       adc     m       aci     #data
            add     r       add     m       adi     #data
            ana     r       ana     m       ani     #data
            cmp     r       cmp     m       cpi     #data
            ora     r       ora     m       ori     #data
            sbb     r       sbb     m       sbi     #data
            sub     r       sub     m       sui     #data
            xra     r       xra     m       xri     #data

    Call and Return Instructions

            cc      label           rc
            cm      label           rm
            cnc     label           rnc
            cnz     label           rnz
            cp      label           rp
            cpe     label           rpe
            cpo     label           rpo
            cz      label           rz
            call    label

    Jump Instructions

            jc      label
            jm      label
            jnc     label
            jnz     label
            jp      label
            jpe     label
            jpo     label
            jz      label
            jmp     label

    Input/Output/Reset Instructions

            in      data
            out     data
            rst     data

    Move Instructions

            mov     r1,r2
            mov     r,m
            mov     m,r

            mvi     r,#data
            mvi     m,#data

    Other Instructions

            dcr     r               dcr     m
            inr     r               inr     m

            dad     r               dcx     r
            inx     r               ldax    r
            pop     r               push    r
            stax    r

            lda     addr            lhld    addr
            shld    addr            sta     addr

            lxi     r,#data

     Go to the Documentation Index

####

... Exit the ASxxxx Documentation

... Home Page