Turns out you have to learn assembly to pass intro computer systems
OK, so the internet has failed me here, where poly (and by poly I mean probably Asher ) can come and save the day. What is this instruction doing?
0x000000000040101a <+40>: cmp %eax,0x4(%rbp,%rbx,4)
In intel flavor:
0x000000000040101a <+40>: cmp DWORD PTR [rbp+rbx*4+0x4],eax
I know it's comparing two pieces of memory. I figure it's performing the arithmetic operation shown in brackets on the values in those registers but this seems to create a memory address that is out of bounds
I assume I am not understanding something here. Can anyone help? Thanks.
Comment