forked from AbleOS/holey-bytes
A
This commit is contained in:
parent
47323e140c
commit
3892a719eb
|
@ -67,8 +67,9 @@ impl Assembler {
|
||||||
//
|
//
|
||||||
// Newly created `UN` (as UNreachable) was chosen as
|
// Newly created `UN` (as UNreachable) was chosen as
|
||||||
// - It was a good idea to add some equivalent to `ud2` anyways
|
// - It was a good idea to add some equivalent to `ud2` anyways
|
||||||
// - Its zeroes
|
// - It was chosen to be zero
|
||||||
// - What if you somehow reached that code, it will appropriately bail :)
|
// - What if you somehow reached that code, it will appropriately bail :)
|
||||||
|
// - (yes, originally NOP was considered)
|
||||||
//
|
//
|
||||||
// Why 12 bytes? That's the size of largest instruction parameter part.
|
// Why 12 bytes? That's the size of largest instruction parameter part.
|
||||||
self.buf.extend([0; 12]);
|
self.buf.extend([0; 12]);
|
||||||
|
|
Loading…
Reference in a new issue