NO

Author Topic: Band Width  (Read 148 times)

Offline HellOfMice

  • Member
  • *
  • Posts: 362
  • Never be pleased, always improve
Band Width
« on: January 16, 2025, 10:55:06 AM »
Bonjour Tout Le Monde,


I will make my own x64 disassembler for my project.
If I don't make it I have made the job for extracting the resources only and I have all the addresses of places containing code.
I know, I will take a long tome, I know... All what you will say. It is for my pleasure, I am retired, I have the time to do it.
I read many things about AMD and INTEL processors, VIA, NEC, SOLARIS too.
I have found reading about undocumented instructions like this one REP NOP (F3 90) which in reality is the PAUSE instruction. You can verify with XDBG64 but take care that this instruction can ba assembled as REP NOP nd disassembled as PAUSE or the inverse
That was for the fun.
REP also can be used with RET, So if you call a function defined as a label, no stack, no prolog, no shadow, and that label calls another label or calls itself.
If the last instructions are mov ecx,2
rep ret
WHere does it go?
I will try but if someone wants to test?
Another observations during my readings.
Somebody told that it is better to use full X64 instructions rather than X32
An X64 instruction can use 15 bytes.
An other person told that it is a good thing to have short instructions for havy the most instructions on the bus?
That means that we must include X32 instructions
I don't know who tells the truth, who believe?
I think that the two presons are right.
And You?


I discovered that Chinese processors are old VIA processors.


Have a good day


Philippe
--------------------------------
Kenavo