can i copy compiled asm instructions and jump to it
Posted: Sat Sep 17, 2022 4:28 pm
in an os could i theoretically copy hexadecimal code of compiled assembly into a space in memory and jump to it
kinda like this
i thought about it at like 4am when trying to sleep so it probably wont work or only sounds good in theory
kinda like this
Code: Select all
┌────────────┐ jump
│App Executer├─────────────────────┐
└────────────┘ │
│
│
│
│
│
▼
┌────────────────┐ copy ┌─────────────┐
│Hexadecimal Code├─────────►│Space for App│
└────────────────┘ └─────────────┘