Hey, Ehsan. Looks like you caught a bug.
I'm going to commit the fix right now. (Basically, all that needs
changed is the reference in the original code should be op.addr not
self.addr.)
Thanks for reporting it,
Ben Martin
Open Systems Laboratory
Ehsan Amiri wrote:
Hello all
I get an erro
Hello all
I get an error when printing code that includes the following: MemRef(addr,
data_size=128). Here addr is an integer.
Adding a register resolves the problem: MemRef(rax, addr, data_size = 128).
I can solve the problem by adding the following line to x86_64_Nasm.__init__
self.addr =