Answer the question
In order to leave comments, you need to log in
How can you enter equ?
Hello!
Can I somehow
override the constant in the data segment in .code?
Or is a constant a constant?
Answer the question
In order to leave comments, you need to log in
Depends on the type of the actual constant. If this is a number, then it will fall into the registers and opcode would have to be changed. If it is data, then it depends on the compiler. Some can pack constants into the data section and they can be changed. But there are those who create a section with read-only access.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question