
Define Data in NASM: db, dw, dd, dq, resb and times
Define bytes, words, strings, floats, arrays and zeroed buffers in NASM with db, dw, dd, dq, the res family and times, with exact little-endian layouts.
Tag
445 posts

Define bytes, words, strings, floats, arrays and zeroed buffers in NASM with db, dw, dd, dq, the res family and times, with exact little-endian layouts.

Read each column of /proc/interrupts, find which CPU serves a device, and pin an IRQ to chosen CPUs with smp_affinity_list on Linux 6.12.

Add Dear ImGui 1.91 to a GLFW 3.4 and OpenGL 3.3 program in C++, wire the two backends, draw a debug window with sliders, and stop input leaking to the scene.

CPUs split execution into user and kernel mode so the OS can protect itself. See how a Linux x86-64 system call crosses over and what a privileged fault does.

Convert any video file to MP4 with H.264 and AAC using one gst-launch-1.0 pipeline: demux, decode, encode, mux, handle audio, and finish the file with -e.

Pass arguments to a pthread through void pointers and get results back with pthread_join, a result struct or pthread_exit, without dangling pointers.

Declare clean, all and test as .PHONY so a file with the same name cannot stop them, and learn phony prerequisites, subdirectory loops and force rules.

Use the CEDA transaction to define a CICS program and transaction in a group, install the group into a running region and check it with CEMT.

Assemble a GNU as source file on Linux x86-64 and link it three ways: with ld as a freestanding program, with gcc and libc, and with gcc driving as itself.

An interrupt makes the CPU pause its program, run a handler and resume. Learn what the CPU saves, how it finds the handler, and what Linux does next.

Build a game loop in C with GLFW 3.4 that updates physics at a fixed 60 Hz step, renders at any rate, and interpolates between states for smooth motion.

Write pin constraint files for iCE40 (PCF) and ECP5 (LPF) boards with pins, pull-ups, I/O standards, drive strength and clock frequency, then check them.