Skip to main content
B.Sc. DegreeFaculty of Faculty of Computing & Information TechnologyCyber Security

CYS 209: Systems Programming & C/Assembly Foundations

Rigorous investigation of low-level systems programming in C and x86_64 assembly, bridging the gap between high-level code and bare-metal execution. Covers the C memory model, explicit memory allocation (malloc, calloc, realloc, free), pointer arithm...

Instructor
Created by PAMCET Learning Team
intermediate1 - 2 weeksEnglish

Course Overview

Rigorous investigation of low-level systems programming in C and x86_64 assembly, bridging the gap between high-level code and bare-metal execution. Covers the C memory model, explicit memory allocation (malloc, calloc, realloc, free), pointer arithm... Curriculum Structure &...

What You'll Learn

  • Write low-level systems applications in C utilizing POSIX system calls, raw pointers, and bitwise operations.
  • Read, trace, and annotate x86_64 assembly language instructions generated by modern compilers.
  • Deconstruct the runtime call stack, stack frames, base pointer management, and return address handling.
  • Inspect running executable memory, registers, and breakpoints using the GNU Project Debugger (GDB).
  • Analyze how memory alignments, compiler optimization levels (-O0 to -O3), and structure packing impact binary layouts.

Requirements

  • CYS 105
  • CYS 106

Degree Programme Curriculum Context

This course is a curriculum unit of the B.Sc. Cyber Security degree framework in Nigeria.

Earn Your Certificate

Showcase your skills with a certificate! Complete the course, submit your project, and earn your certificate. Here's a sample of what you'll receive to show off your accomplishments.

course-certificate
Lecture Board & Syllabus

Course Curriculum

Browse complete theoretical foundations, worked calculations, laboratory protocols, and board assessment questions under each topic.

Launch Course Reader →
8 Chapters
•
16 Lecture
•
12h
Subtopic 1Document LectureOpen Access~28 min read

Lecture 1: Low-Level Data Representation: Endianness (Little vs Big Endian), Integer Promotion, and Two's Complement

CYS 209 • Chapter 1 • Lecture 1 CCMAS: CCMAS-CYS-209 Low-Level Data Representation: Endianness (Little vs Big Endian), Integer Promotion, and Two's Complement Module: Low-Level C Programming, Memory Representation & Bitwise Operations • Theoretical Foundations & Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Stud...

Module 1 • Subtopic 1•23,745 characters of authentic academic content
Subtopic 2Document Lecture

Lecture 2: Bitwise Operators: AND, OR, XOR, NOT, Bit-Shifts (<<, >>), and Creating Efficient Bitmasks

CYS 209 &bull; Chapter 1 &bull; Lecture 2 CCMAS: CCMAS-CYS-209 Bitwise Operators: AND, OR, XOR, NOT, Bit-Shifts (), and Creating Efficient Bitmasks Module: Low-Level C Programming, Memory Representation & Bitwise Operations &bull; Worked Technical Scenarios &amp; Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Study Time: 45 Mins 1....

Module 1 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Low-Level C Programming, Memory Representation & Bitwise Operations

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Low-Level C Programming, Memory Representation & Bitwise Operations.

Module 1 • Formative Assessment
Subtopic 1Document Lecture

Lecture 1: Memory Alignment, Data Structure Padding, and the sizeof Operator in C

CYS 209 &bull; Chapter 2 &bull; Lecture 1 CCMAS: CCMAS-CYS-209 Memory Alignment, Data Structure Padding, and the sizeof Operator in C Module: Pointers, Pointer Arithmetic, Dynamic Memory & Memory Leaks &bull; Theoretical Foundations &amp; Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Study Time: 45 Mins 1. Pedagogical Abstract &am...

Module 2 • Subtopic 1
Subtopic 2Document Lecture

Lecture 2: Pointer Arithmetic: Address Computation, Void Pointers, Double Pointers, and Function Pointers

CYS 209 &bull; Chapter 2 &bull; Lecture 2 CCMAS: CCMAS-CYS-209 Pointer Arithmetic: Address Computation, Void Pointers, Double Pointers, and Function Pointers Module: Pointers, Pointer Arithmetic, Dynamic Memory & Memory Leaks &bull; Worked Technical Scenarios &amp; Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Study Time: 45 Mins...

Module 2 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Pointers, Pointer Arithmetic, Dynamic Memory & Memory Leaks

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Pointers, Pointer Arithmetic, Dynamic Memory & Memory Leaks.

Module 2 • Formative Assessment
Subtopic 1Document Lecture

Lecture 1: Dynamic Heap Allocation: malloc, calloc, realloc, free, and Heap Chunk Metadata (glibc ptmalloc)

CYS 209 &bull; Chapter 3 &bull; Lecture 1 CCMAS: CCMAS-CYS-209 Dynamic Heap Allocation: malloc, calloc, realloc, free, and Heap Chunk Metadata (glibc ptmalloc) Module: POSIX System Calls: Process Lifecycle, IPC, Pipes & File Descriptors &bull; Theoretical Foundations &amp; Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Study Time:...

Module 3 • Subtopic 1
Subtopic 2Document Lecture

Lecture 2: POSIX File Descriptors: open, read, write, close, lseek, and Standard Streams (stdin, stdout, stderr)

CYS 209 &bull; Chapter 3 &bull; Lecture 2 CCMAS: CCMAS-CYS-209 POSIX File Descriptors: open, read, write, close, lseek, and Standard Streams (stdin, stdout, stderr) Module: POSIX System Calls: Process Lifecycle, IPC, Pipes & File Descriptors &bull; Worked Technical Scenarios &amp; Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Stud...

Module 3 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: POSIX System Calls: Process Lifecycle, IPC, Pipes & File Descriptors

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for POSIX System Calls: Process Lifecycle, IPC, Pipes & File Descriptors.

Module 3 • Formative Assessment
Subtopic 1Document Lecture

Lecture 1: Process Control Syscalls: fork(), execve(), waitpid(), and Inter-Process Communication via pipe() and dup2()

CYS 209 &bull; Chapter 4 &bull; Lecture 1 CCMAS: CCMAS-CYS-209 Process Control Syscalls: fork(), execve(), waitpid(), and Inter-Process Communication via pipe() and dup2() Module: x86_64 Microarchitecture: Register Files, Flags & Memory Addressing Modes &bull; Theoretical Foundations &amp; Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundat...

Module 4 • Subtopic 1
Subtopic 2Document Lecture

Lecture 2: x86_64 General-Purpose Registers: 64-bit, 32-bit, 16-bit, and 8-bit Partial Register Aliasing

CYS 209 &bull; Chapter 4 &bull; Lecture 2 CCMAS: CCMAS-CYS-209 x86_64 General-Purpose Registers: 64-bit, 32-bit, 16-bit, and 8-bit Partial Register Aliasing Module: x86_64 Microarchitecture: Register Files, Flags & Memory Addressing Modes &bull; Worked Technical Scenarios &amp; Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Study T...

Module 4 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: x86_64 Microarchitecture: Register Files, Flags & Memory Addressing Modes

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for x86_64 Microarchitecture: Register Files, Flags & Memory Addressing Modes.

Module 4 • Formative Assessment
Subtopic 1Document Lecture

Lecture 1: Flags Register (RFLAGS): Carry (CF), Zero (ZF), Sign (SF), Overflow (OF), and Condition Codes

CYS 209 &bull; Chapter 5 &bull; Lecture 1 CCMAS: CCMAS-CYS-209 Flags Register (RFLAGS): Carry (CF), Zero (ZF), Sign (SF), Overflow (OF), and Condition Codes Module: x86_64 Instruction Set: Data Movement, Arithmetic, Logic & Control Flow &bull; Theoretical Foundations &amp; Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Study Time:...

Module 5 • Subtopic 1
Subtopic 2Document Lecture

Lecture 2: Instruction Syntax: Intel vs AT&T Syntax, MOV Instructions, and the Load Effective Address (LEA) Instruction

CYS 209 &bull; Chapter 5 &bull; Lecture 2 CCMAS: CCMAS-CYS-209 Instruction Syntax: Intel vs AT&T Syntax, MOV Instructions, and the Load Effective Address (LEA) Instruction Module: x86_64 Instruction Set: Data Movement, Arithmetic, Logic & Control Flow &bull; Worked Technical Scenarios &amp; Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Founda...

Module 5 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: x86_64 Instruction Set: Data Movement, Arithmetic, Logic & Control Flow

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for x86_64 Instruction Set: Data Movement, Arithmetic, Logic & Control Flow.

Module 5 • Formative Assessment
Subtopic 1Document Lecture

Lecture 1: Control Flow in Assembly: Unconditional (JMP) vs Conditional Jumps (JE, JNE, JG, JL), and CMP/TEST Mechanics

CYS 209 &bull; Chapter 6 &bull; Lecture 1 CCMAS: CCMAS-CYS-209 Control Flow in Assembly: Unconditional (JMP) vs Conditional Jumps (JE, JNE, JG, JL), and CMP/TEST Mechanics Module: The Call Stack: Stack Frames, Calling Conventions (System V ABI) & CALL/RET &bull; Theoretical Foundations &amp; Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Found...

Module 6 • Subtopic 1
Subtopic 2Document Lecture

Lecture 2: System V AMD64 Calling Convention: Argument Passing Registers (RDI, RSI, RDX, RCX, R8, R9), RAX Return Value

CYS 209 &bull; Chapter 6 &bull; Lecture 2 CCMAS: CCMAS-CYS-209 System V AMD64 Calling Convention: Argument Passing Registers (RDI, RSI, RDX, RCX, R8, R9), RAX Return Value Module: The Call Stack: Stack Frames, Calling Conventions (System V ABI) & CALL/RET &bull; Worked Technical Scenarios &amp; Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Fo...

Module 6 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: The Call Stack: Stack Frames, Calling Conventions (System V ABI) & CALL/RET

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for The Call Stack: Stack Frames, Calling Conventions (System V ABI) & CALL/RET.

Module 6 • Formative Assessment
Subtopic 1Document Lecture

Lecture 1: Stack Frame Architecture: Push/Pop Operations, RSP Movement, Frame Pointer (RBP), and Local Variable Layout

CYS 209 &bull; Chapter 7 &bull; Lecture 1 CCMAS: CCMAS-CYS-209 Stack Frame Architecture: Push/Pop Operations, RSP Movement, Frame Pointer (RBP), and Local Variable Layout Module: Binary Analysis: Compilers, Linkers, Object Files & ELF Format Mechanics &bull; Theoretical Foundations &amp; Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundatio...

Module 7 • Subtopic 1
Subtopic 2Document Lecture

Lecture 2: Executable and Linkable Format (ELF): Header, Program Headers (Segments), Section Headers (.text, .data, .rodata, .bss)

CYS 209 &bull; Chapter 7 &bull; Lecture 2 CCMAS: CCMAS-CYS-209 Executable and Linkable Format (ELF): Header, Program Headers (Segments), Section Headers (.text, .data, .rodata, .bss) Module: Binary Analysis: Compilers, Linkers, Object Files & ELF Format Mechanics &bull; Worked Technical Scenarios &amp; Lab Protocols Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Sy...

Module 7 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Binary Analysis: Compilers, Linkers, Object Files & ELF Format Mechanics

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Binary Analysis: Compilers, Linkers, Object Files & ELF Format Mechanics.

Module 7 • Formative Assessment
Subtopic 1Document Lecture

Lecture 1: GNU Toolchain: gcc, as, ld, nm, readelf, and Disassembling Code with objdump -d -M intel

CYS 209 &bull; Chapter 8 &bull; Lecture 1 CCMAS: CCMAS-CYS-209 GNU Toolchain: gcc, as, ld, nm, readelf, and Disassembling Code with objdump -d -M intel Module: Debugging with GDB: Breakpoints, Disassembly, Register Dumps & Memory Inspection &bull; Theoretical Foundations &amp; Formal Models Level: 200L Credits: 3 CU Discipline: Computing Foundations Thread: Computing & Systems Foundations Study Ti...

Module 8 • Subtopic 1
Subtopic 2Document Lecture

Lecture 2: GNU Debugger (GDB) Mastery: Setting Breakpoints, Single-Stepping (stepi/nexti), Examining Memory (x/x, x/s), and Register Inspection (info registers)

CYS 209 &bull; Chapter 8 &bull; Lecture 2 CCMAS: CCMAS-CYS-209 GNU Debugger (GDB) Mastery: Setting Breakpoints, Single-Stepping (stepi/nexti), Examining Memory (x/x, x/s), and Register Inspection (info registers) Module: Debugging with GDB: Breakpoints, Disassembly, Register Dumps & Memory Inspection &bull; Worked Technical Scenarios &amp; Lab Protocols Level: 200L Credits: 3 CU Discipline: Comput...

Module 8 • Subtopic 2
Formative Assessment10 Points • 15 Mins

Formative Assessment: Debugging with GDB: Breakpoints, Disassembly, Register Dumps & Memory Inspection

Assessment Protocol:10 Total Points•70% Passing Threshold•15 Mins Time Limit•Bloom's Taxonomy: Analyze & Evaluate

Formative knowledge check evaluating core concepts, security invariants, and analytical skills for Debugging with GDB: Breakpoints, Disassembly, Register Dumps & Memory Inspection.

Module 8 • Formative Assessment

Instructor

PAMCET Learning Team

PAMCET Learning Team

Institutional Course Curation · PAMCET

The PAMCET Learning Team is the institutional curriculum and content group behind course publishing on this platform. PAMCET (Professional and Academic Management Centre for Education and Training) is operated by Digitpen Hub Ltd, a company registered in Lagos, Nigeria. Courses credited to the PAMCET Learning Team are structured, organized, and published centrally by the platform rather than authored by a single named individual instructor — each course's syllabus, learning outcomes, and content are reviewed before publication under this institutional account. For questions about a specific course or to report a content issue, please use the platform's Help & Support or Contact Us pages.

Qualifications:

PAMCET Learning Team — Institutional Course Curation, Digitpen Hub Ltd

My Skills:

  • Curriculum Curation
  • Course Content Review
  • Learning Outcome Design
  • Course Publishing & Quality Assurance
  • Platform Content Operations

Reviews

No reviews available
CYS 209: Systems Programming & C/Assembly Foundations
Free$24.99100% Off
Certificate available separately for $7 after completion

Course Includes

8 Chapters
16 Lectures
1 - 2 weeks
Skill Level intermediate
Taught in English
Lifetime Access
Certification of Completion
Category: University - Cyber Security
Share On

Download Syllabus & Study Guide

Receive the full lecture syllabus, reading list, and milestone schedule for CYS 209: Systems Programming & C/Assembly Foundations.

By submitting, you agree to receive educational updates. You can unsubscribe anytime. Read our Privacy Policy.