Stepping into low-level computer operations often feels daunting when you transition from high-level programming to hardware-bound machine logic. Mastering how instructions execute at the register level is essential for conquering your Tribhuvan University semester examinations.
These comprehensive BICTE 3rd semester computer architecture notes cover the complete foundational concepts of programming the basic computer. Prepared by Deep Raj Bhujel, this chapter resource delivers structured explanations tailored for students taking Computer Architecture and Organization under TU.
Whether you are learning assembly syntax or reviewing instruction translation before midterms, having clear low-level architecture explanations ensures you stay ahead in your university coursework.
Programming the Basic Computer Notes – BICTE 3rd Semester
Skip to PDF contentOverview of Assembly and Basic Computer Architecture
This study module centers on the relationship between machine-level instructions and underlying hardware mechanisms. It contrasts high-level languages with binary, octal, hexadecimal, and symbolic codes, showing how source statements translate into binary patterns recognized by central processing units.
You will explore the construction of assembly language programs, focusing on label, instruction, and comment fields. The discussion clarifies how memory-reference instructions, register-reference instructions, and input-output operations are formatted alongside pseudo-instructions like origin declarations and program terminations.
The material also examines translation mechanics through a detailed analysis of two-pass assemblers. It explains how location counters, address symbol tables, and operation lookup tables collaborate across passes to resolve forward references and generate executable object code.
Finally, the resource addresses essential software implementations for operations unsupported by dedicated hardware circuits. This includes program looping structures, double-precision addition, multi-bit multiplication, bitwise logical operations, shifting techniques, subroutine call-and-return linkages using branch instructions, and character-level input-output polling.
Exam Preparation Tips for Computer Architecture and Organization
Practice tracing assembly instructions line by line on paper rather than just memorizing code syntax. Understanding how the accumulator, data register, and extended accumulator bit change after each instruction will help you solve numerical tracing questions easily.
Pay special attention to the two-pass assembler workflow. Be prepared to draw flowcharts, explain the distinct duties performed during the first pass and second pass, and illustrate how the address symbol table records memory addresses.
Master subroutine linkage mechanics using branch and save return address operations. University exams frequently test how subroutines store return pointers and return control to the main sequence using indirect unconditional branches.
Work through arithmetic algorithms such as multiplication loops and double-precision addition routines. When writing solutions, remember to document each instruction with proper slash comments and specify initial memory allocations with origin directives.
Frequently asked questions
What topics are covered in these basic computer programming notes?
The notes explain machine language categories, symbolic assembly syntax, pseudo-instructions, two-pass assembler architecture, arithmetic routines, subroutine linkages, and input-output polling loops.
How are subroutines linked in the basic computer architecture?
Subroutine linkages rely on the BSA instruction to store the return address at the target memory word, while an indirect BUN instruction executes the unconditional return to the calling program.
Why are pseudo-instructions needed in assembly programs?
Pseudo-instructions such as ORG, END, DEC, and HEX do not generate executable machine operations. Instead, they give instructions to the assembler during translation to establish origin addresses and format constants.
Where can BICTE students find related question papers and syllabi?
You can browse the BICTE section on Noted Insights to access official Tribhuvan University syllabi, past board exam papers, and supplementary study materials for all semesters.
About Noted Insights
Noted Insights was founded by Ajay Mahato in 2022 to provide open educational materials, lecture notes, syllabus frameworks, and question banks for students throughout Nepal. The platform works to empower university learners with the exact academic tools and technical foundations they need to achieve their professional goals.
We believe that education transforms lives and that every student deserves unrestricted access to high-quality study resources regardless of background or college location. Stay consistent with your machine-level coding drills, support your peers, and approach your technical exams with confidence.