Loading…
This is possibly faster than hardcoding the address in the code because the microprocessor does not have to fetch the address from the memory—it is already stored in one of its registers. I said <emphasis>possibly</emphasis> because with the caching modern microprocessors do, either way may be equally fast.
این روش احتمالاً سریعتر از سختکد کردن نشانی در کد است زیرا ریزپردازنده نیازی به گرفتن نشانی از حافظه ندارد—از پیش در یکی از ثباتهایش ذخیره شده است. من گفتم <emphasis>احتمالاً</emphasis> زیرا با ذخیرهسازیای که ریزپردازندههای امروزی انجام میدهند، هر دو روش ممکن است به یک اندازه سریع باشند.