I'm starting with assembly language and I can't seem to wrap my head around the mul function. The snippet is:
mov eax,0x4
mov ebx,0x2
or eax,ebx
mul eax,ebx
So, from what I've understood, First off, eax gets the value 4 and ebx gets the value 2. Then or eax,ebx stores the value 6 to eax (I'm not very sure about this part, please correct me if I'm wrong).
I'm stuck on the mul eax,ebx part. Do I just multiply 6 and 2? Or do I concatenate it? Or do I take their binaries and do something with that?