0

How to know the given binary pattern is an instruction or number(data)

B/w data and instruction

28th Dec 2018, 12:29 AM
Ashok Ghanta
Ashok Ghanta - avatar
1 Resposta
0
Might help to add some context, are you trying to make a disassembler? Theoretically the problem is undecidable. There is no algorithm that will always give the right answer. In practice context can give you a pretty good idea a lot of the time.
28th Dec 2018, 11:30 AM
Jared Bird
Jared Bird - avatar