Q: Write an Alp to interface 8253 with 8086 in all the different modes
Os: Fedora-64 bit<Linux>
Software: Minicom
Os: Fedora-64 bit<Linux>
Software: Minicom
Code
MOde 0 counter 1 Dyna-86>A 3000 0000:3000 MOV AL, 50 0000:3002 OUT 33, AL 0000:3004 MOV AL, 04 0000:3006 OUT 31, AL 0000:3008 INT 3 Dyna-86>G 3000 Mode 1 counter 1 Dyna-86>U 3000 0000:3000 MOV AL, 52 0000:3002 OUT 33, AL 0000:3004 MOV AL, 04 0000:3006 OUT 31, AL 0000:3008 INT 3 Mode 2 counter 1 Dyna-86>U 3000 0000:3000 MOV AL, 54 0000:3002 OUT 33, AL 0000:3004 MOV AL, 04 0000:3006 OUT 31, AL 0000:3008 INT 3 Mode 3 counter 1 Dyna-86>U 3000 0000:3000 MOV AL, 56 0000:3002 OUT 33, AL 0000:3004 MOV AL, 04 0000:3006 OUT 31, AL 0000:3008 INT 3 Mode 4 counter 1 Dyna-86>U 3000 0000:3000 MOV AL, 58 0000:3002 OUT 33, AL 0000:3004 MOV AL, 04 0000:3006 OUT 31, AL 0000:3008 INT 3 Mode 5 counter 1 Dyna-86>U 3000 0000:3000 MOV AL, 5A 0000:3002 OUT 33, AL 0000:3004 MOV AL, 04 0000:3006 OUT 31, AL 0000:3008 INT 3
No comments:
Post a Comment