DORSETRIGS
Home

assembly (164 post)


posts by category not found!

iPhone/ARM calling convention

Understanding the i Phone ARM Calling Convention A Guide for Developers When diving into the world of i Phone development and ARM architecture one critical conc

3 min read 08-10-2024 66
iPhone/ARM calling convention
iPhone/ARM calling convention

How to directly access a GPU?

How to Directly Access a GPU A Comprehensive Guide Understanding the Problem In the realm of computing Graphics Processing Units GPUs play a crucial role especi

3 min read 08-10-2024 49
How to directly access a GPU?
How to directly access a GPU?

How is a 2 pass-assembler different from a one pass assembler in resolving the future symbols?

Understanding the Difference Between One Pass and Two Pass Assemblers in Resolving Future Symbols When working with assembly language programming understanding

3 min read 08-10-2024 53
How is a 2 pass-assembler different from a one pass assembler in resolving the future symbols?
How is a 2 pass-assembler different from a one pass assembler in resolving the future symbols?

Least significant bits in function pointer

The Curious Case of the Least Significant Bits in Function Pointers Have you ever wondered what happens to the least significant bits LSBs of a function pointer

2 min read 07-10-2024 58
Least significant bits in function pointer
Least significant bits in function pointer

Why does using "int 21h" on Assembly x86 MASM cause my program to crash?

The Mysterious Case of INT 21h Unlocking the Secrets of Assembly x86 MASM Crashes Have you ever found yourself staring at a screen filled with cryptic error mes

2 min read 07-10-2024 47
Why does using "int 21h" on Assembly x86 MASM cause my program to crash?
Why does using "int 21h" on Assembly x86 MASM cause my program to crash?

8086 ALP String Display

Displaying Strings in 8086 Assembly Language A Comprehensive Guide The ability to display strings is a fundamental task in any programming language and 8086 ass

2 min read 07-10-2024 48
8086 ALP String Display
8086 ALP String Display

How to read stack memory with gdb

Delving into the Stack Reading Memory with GDB Debugging code often involves understanding the state of variables and data structures during program execution W

2 min read 07-10-2024 53
How to read stack memory with gdb
How to read stack memory with gdb

EDB - How do I debug a program with i/o redirection as the arguments?

Debugging Programs with I O Redirection in EDB Debugging programs that utilize input and output redirection can be tricky as the standard input and output strea

2 min read 07-10-2024 49
EDB - How do I debug a program with i/o redirection as the arguments?
EDB - How do I debug a program with i/o redirection as the arguments?

Atmega8 - Compile and link C and Assembly-files with one Makefile

Combining Forces Compiling and Linking C and Assembly Code with a Single Makefile for Atmel A Tmega8 The world of embedded systems often involves working with b

3 min read 07-10-2024 74
Atmega8 - Compile and link C and Assembly-files with one Makefile
Atmega8 - Compile and link C and Assembly-files with one Makefile

Repeated integer division by a runtime constant value

Optimizing Repeated Integer Division Beyond the Basics Dividing integers repeatedly by a constant value is a common operation in various algorithms While straig

2 min read 07-10-2024 72
Repeated integer division by a runtime constant value
Repeated integer division by a runtime constant value

What is the value in the Accumulator?

Unlocking the Power of the Accumulator A Deep Dive into its Value In the realm of programming the accumulator is a powerful tool particularly when dealing with

less than a minute read 06-10-2024 69
What is the value in the Accumulator?
What is the value in the Accumulator?

GDB shows error message when trying to print a variable in an Assembly program

Debugging Assembly Code When GDB Refuses to Show Your Variables Debugging assembly code can feel like trying to solve a puzzle in a foreign language While you m

2 min read 06-10-2024 64
GDB shows error message when trying to print a variable in an Assembly program
GDB shows error message when trying to print a variable in an Assembly program

If I have an 8-bit value, is there any advantage to using an 8-bit register instead of say, 16, 32, or 64-bit?

Why Use an 8 Bit Register for an 8 Bit Value The Advantages of Size and Efficiency In the world of computing registers are essential components that store data

2 min read 06-10-2024 71
If I have an 8-bit value, is there any advantage to using an 8-bit register instead of say, 16, 32, or 64-bit?
If I have an 8-bit value, is there any advantage to using an 8-bit register instead of say, 16, 32, or 64-bit?

Should using MOV instruction to set SS to 0x0000 cause fault #GP(0) in 64-bit mode?

The Great SS Segment Selector Debate Why MOV SS 0x0000 Causes a General Protection Fault in 64 bit Mode Understanding the Problem In 64 bit mode attempting to s

2 min read 06-10-2024 72
Should using MOV instruction to set SS to 0x0000 cause fault #GP(0) in 64-bit mode?
Should using MOV instruction to set SS to 0x0000 cause fault #GP(0) in 64-bit mode?

Where is the Linear Address Space located?

Understanding Linear Address Space Where Does It Live The concept of linear address space can feel abstract especially for those new to computer architecture It

2 min read 06-10-2024 69
Where is the Linear Address Space located?
Where is the Linear Address Space located?

can't understand armv7 adr_l instruction example

Demystifying the AR Mv7 ADR L Instruction A Practical Guide The AR Mv7 ADR L instruction short for Address Relative to PC with Link often leaves developers scra

2 min read 06-10-2024 61
can't understand armv7 adr_l instruction example
can't understand armv7 adr_l instruction example

x86 Assembly CALL Instruction Encoding

Unraveling the Secrets of the x86 Assembly CALL Instruction A Deep Dive into Encoding The x86 architecture renowned for its power and flexibility relies heavily

2 min read 06-10-2024 67
x86 Assembly CALL Instruction Encoding
x86 Assembly CALL Instruction Encoding

How to step into native code with disassembling in Android Studio?

Stepping into Native Code with Disassembling in Android Studio Debugging Android applications often involves understanding how Java code interacts with native l

2 min read 06-10-2024 60
How to step into native code with disassembling in Android Studio?
How to step into native code with disassembling in Android Studio?

Read data from proc/sys/kernel/

Reading Kernel Parameters Unveiling the Secrets of proc sys kernel The proc filesystem in Linux provides a unique window into the inner workings of the kernel I

2 min read 06-10-2024 72
Read data from proc/sys/kernel/
Read data from proc/sys/kernel/

Can't figure out why the "str x6, [x7]" instruction does not work in arm64 assembly

Unraveling the Mystery Why str x6 x7 Fails in ARM 64 Assembly The Problem A Stubborn Instruction You re working with ARM 64 assembly and encounter a perplexing

2 min read 05-10-2024 58
Can't figure out why the "str x6, [x7]" instruction does not work in arm64 assembly
Can't figure out why the "str x6, [x7]" instruction does not work in arm64 assembly

Passing image pointer to assembly by dll

Passing Image Pointers to Assembly Through DLLs A Comprehensive Guide Passing image pointers to assembly code through DLLs can be a tricky task especially for t

3 min read 04-10-2024 65
Passing image pointer to assembly by dll
Passing image pointer to assembly by dll

Assembly -(LMC) I'm supposed to make a program that takes 2 inputs of number but outputs the larger number

Finding the Larger Number in LMC A Simple Program The Challenge You re tasked with creating a program in the Little Man Computer LMC language that takes two inp

2 min read 04-10-2024 61
Assembly -(LMC) I'm supposed to make a program that takes 2 inputs of number but outputs the larger number
Assembly -(LMC) I'm supposed to make a program that takes 2 inputs of number but outputs the larger number

Strange size change in core dump file

The Mystery of the Shrinking Core Dump A Tale of File Sizes and Debugging Woes Have you ever encountered a core dump file that seemed to vanish into thin air le

2 min read 04-10-2024 71
Strange size change in core dump file
Strange size change in core dump file

I want to draw a Pacman in assembly

Chomp Your Way Through Assembly Drawing Pac Man Ever wanted to bring the classic video game icon Pac Man to life using assembly language Its a fun and challengi

3 min read 04-10-2024 67
I want to draw a Pacman in assembly
I want to draw a Pacman in assembly

Problem with booting own operating system [32-bits]

Troubleshooting Boot Issues with a Custom 32 bit Operating System Booting your own operating system can be an exciting project but it often comes with its own s

3 min read 30-09-2024 84
Problem with booting own operating system [32-bits]
Problem with booting own operating system [32-bits]