So i'm doing a technical thesis project which controls dampers of a HVAC unit according to the amount of people inside a building.. I have a circuit designed that will increment when a person enters a building and decrement when someone leaves. This is where my trouble is. These voltages go into a comparator and latch circuit which outputs a number to an 8255 PPI Interface card. The program should then output in order to move a motor on one way or the other to open or close a damper. I have very little skills in assembly language programming and just know the bare basics. Any help on this program would be greatly appretiated. This is what I have so far..
A100
MOV AL,90
MOV DX,303
OUT DX,AL
A100
MOV AL,90
MOV DX,303
OUT DX,AL