سلام
کسی میتونه این کدهای اسبلی فارسی توضیخ بده
کسی میتونه این کدهای اسبلی فارسی توضیخ بده
کد:
digit1 equ 0900h ;DIGIT1 ADDRESS IN RAM digit2 equ 0901h ;DIGIT2 ADDRESS IN RAM digit3 equ 0902h ;DIGIT3 ADDRESS IN RAM digit4 equ 0903h ;DIGIT4 ADDRESS IN RAM inttbl equ 0850h ;INTERRUPT TABLE ADDRESS intsub equ 0650h ;INTERRUPT SUBROUTINE ADDRESS portA equ 0004h ;PIO PORT A ADDRESS portB equ 0005h ;PIO PORT B ADDRESS portC equ 0006h ;PIO PORT C ADDRESS cntrl equ 0b7h ;CONTROL WORD OF CTC port0 equ 08h ;ENABLE CHANNEL 0 count equ 7dh ;NEEDED COUNT NUMBER TO OBTAIN 1/125 SEC ld a,90h ;PIO CONTROL WORD SETS PORTA INPUT PORTB AND PORTC OUTPUT out (0007h),a ;LOAD CONTROL WORD TO PIO ld b,count ld hl,intsub ;LOAD INTERRUPT SUBROUTINE ADDRESS TO INTERRUPT TABLE ld (inttbl),hl di ;DISABLE INTERRUPT im 2 ;INTERRUPT MODE 2 ld a,08h ld i,a ;LOAD MSB ADDRESS TO I REGISTER ld a,cntrl ;WRITE CONTROL WORD TO CTC out (port0),a ld a,count ;WRITE COUNT CONSTANT TO CTC out (port0),a ld a,50h ;PUT CHANNEL O'S INTTERRUPT DATA BUS 50H out (port0),a ei ;ENABLE INTERRUPT