Integrated Circuits Used
Description
section.data unit_place db 5 tens_place db 1 msg1 db "Number is:" msg1len equ $-msg1 nwline db 10 section.bss temp resb 1 section.text global_start _start: mov rax,1 mov rdi,1 mov rsi,msg1 mov rdx,msg1len syscall mov,al[tens_place] mov [temp],al mov rax,1 mov rdi,1 mov rsi,temp mov rdx,1 syscall mov al,[units_place] mov [temp],al add byte[temp],al add byte[temp],30H mov rax,1 mov rdi,1 mov rsi,nwline mov rdx,1 syscall mov rax,60 mov rdx,0 syscall
Procedure
- Connect GND Port to Pin-17 (Ground) of ICBase-1 (74LS76).
- Connect VCC Port to Pin-5 (VCC) of ICBase-1 (74LS76).
- Connect Input-15 to Pin-4 (Input) of ICBase-1 (74LS76).
- Connect Clock port of 1Hz frequency to Pin-1 (Input) of ICBase-1 (74LS76).
- Connect Input-13 to Pin-3 (Input) of ICBase-1 (74LS76).
- Connect Input-12 to Pin-2 (Input) of ICBase-1 (74LS76).
- Connect Output-10 to Pin-19 (Output) of ICBase-1 (74LS76).
- Connect Output-11 to Pin-18 (Output) of ICBase-1 (74LS76).
- Connect VCC Port to Pin-5 (VCC) of ICBase-2 (74LS76).
- Connect GND Port to Pin-17 (Ground) of ICBase-2 (74LS76).
- Connect Input-10 to Pin-16 (Input) of ICBase-2 (74LS76).
- Connect Output-7 to Pin-15 (Output) of ICBase-2 (74LS76).
- Connect Output-8 to Pin-14 (Output) of ICBase-2 (74LS76).
- Connect Input-8 to Pin-8 (Input) of ICBase-2 (74LS76).
- Connect Input-7 to Pin-7 (Input) of ICBase-2 (74LS76).
- Connect VCC Port to Pin-5 (VCC) of ICBase-3 (74LS76).
- Connect GND Port to Pin-17 (Ground) of ICBase-3 (74LS76).
- Connect Input-15 to Pin-20 (Input) of ICBase-1 (74LS76).
- Connect Pin-6 (Input) of ICBase-2 (74LS76) to Pin-19 (Output) of ICBase-1 (74LS76).
- Connect Output-0 to Pin-19 (Output) of ICBase-1 (74LS76).
- Connect Input-2 to Pin-2 (Input) of ICBase-3 (74LS76).
- Connect Input-1 to Pin-3 (Input) of ICBase-3 (74LS76).
- Connect Pin-1 (Input) of ICBase-3 (74LS76) to Pin-19 (Output) of ICBase-2 (74LS76).
- Connect Output-2 to Pin-19 (Output) of ICBase-3 (74LS76).
- Connect Input-1 to Pin-20 (Input) of ICBase-3 (74LS76).
- Connect Input-2 to Pin-13 (Input) of ICBase-2 (74LS76).
- Connect Output-1 to Pin-15 (Output) of ICBase-2 (74LS76).
- Add IC 74LS76 into ICBase-1 (74LS76).
- Add IC 74LS76 into ICBase-2 (74LS76).
- Add IC 74LS76 into ICBase-3 (74LS76).