Page 1 of 1

10 11 12 name "Traffic light control system" 14 15 16 18 mov ax, all_red 19 20 out 4, ax mov si, offset situation next:

Posted: Sun Jul 03, 2022 12:09 pm
by answerhappygod
10 11 12 Name Traffic Light Control System 14 15 16 18 Mov Ax All Red 19 20 Out 4 Ax Mov Si Offset Situation Next 1
10 11 12 Name Traffic Light Control System 14 15 16 18 Mov Ax All Red 19 20 Out 4 Ax Mov Si Offset Situation Next 1 (13.35 KiB) Viewed 17 times
10 11 12 name "Traffic light control system" 14 15 16 18 mov ax, all_red 19 20 out 4, ax mov si, offset situation next: mov ax, [si] 36 out 4, ax 38 40 41 42 mov 44 mov 45 MOV 48 int 49 cx, 4Ch dx, 4B40h ah, 86h 15h ;
49 50 51 52 53 54 add si, 2 55 56 cmp si, sit_end 57 58 jb next 59 60 mov si, offset situation 61 62 jmp next 63 64 65 66 67 68 69 70 71 ; 72 73 situation 74 75 s1 76 77 s2 78 79 s3 80 81 s4 82 83 sit_end = $ 84 85 86 87 88 89 all red dw dw dw dw dw equ FEDC_BA98_7654_3210 0000_0011_0000_1100b 0000 0110_1001_1010b 0000_1000_0110_000lb 0000 1000 0110_0001b 0000_0100_1101_0011b 0000_0010_0100_1001b
90 91 92 93 all red equ 0000_0010_0100_1001b