John McKown wrote:

>Mainly that the compiler inserted an NOPR 0 after my simple command. 

Hmmm, I remembered that Borland Turbo Pascal [1] could do that similar trick, 
but I don't have MSDOS and Pascal anymore.

I never tried that [inserting machine code to speed up things] out with C and 
C++.

> *000004 0700                           9          NOPR  0
> 000074  581D  00B0        000009 |                 L        r1,176(r13,)

Is that compiler action just for [full word / half word?] alignment? 
Increase/decrease the instruction length by 1 or 2 bytes with same or other 
instruction and see where it ends up.

>This is just curiosity on my part. It is not a "bug" or a complaint.

This is why we all need you. You learn on the hard way and we look on the easy 
way. ;-D

Groete / Greetings
Elardus Engelbrecht

[1] - I wrote cryptographic code in mix of Turbo Pascal and MASM to protect my 
and my clients files. Good old MSDOS days when nothing was available for pure 
protection.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to