interfacing (switches) in assembly language

Discussion in 'Programmer's Corner' started by zacknie, Feb 12, 2011.

  1. zacknie

    Thread Starter New Member

    Jan 26, 2011
    9
    0
    hello,
    im making a two button transaction queuing (1-99).,it is display on seven segment display... the problem is i don't know the code of inputting and debouncer.. i already know the pins of parallel port,.. BTW, im using a FASM..
    Tnx!!:)
     
  2. TierOne

    New Member

    Feb 5, 2011
    16
    2
    Inputs:
    MOV P0, AX
    ANL AX, 01H

    JZ debouncer

    debouncer:
    MOV P0, AX
    ANL AX, 01H
    JZ debouncer
     
  3. zacknie

    Thread Starter New Member

    Jan 26, 2011
    9
    0
    tnx sir!.. ill try this one... i will post here the result of your code..
     
Loading...