当前位置:网站首页>10种寻址方式之间的区别
10种寻址方式之间的区别
2022-07-05 03:56:00 【Nancy-sn】
1.隐含寻址:在指令中隐含操作数的地址。可以缩短指令字长但需要增加存储操作数或隐含地址的硬件。
2.立即寻址:指令的地址字段是操作数本身。不需要访问主存,执行时间短,但其位数限制了立即数的范围。
3.直接寻址:形式地址A是操作数的真实地址。简单,但操作数的地址不易修改。
4.简介寻址:指令的地址是操作数有效地址所在的存储单元的地址。可扩大寻址范围,但访问速度慢。
5.寄存器寻址:指令中直接给出操作数所在的寄存器编号。执行速度快,但寄存器个数有限。
6.寄存器间接寻址:寄存器中给出操作数所在主存单元的地址。相比一般的间接寻址更快,但其需访问主存。
7.相对寻址:把PC的内容加上指令格式中的形式地址形成操作数的有效地址。操作数的地址不是固定的,与指令之间相差一个固定值,便于程序的浮动。
8.基址寻址:将CPU中基址寄存器的内容加上指令格式中的形式地址形成操作数的有效地址。其是面向操作系统的,可扩大寻址范围,有利于多道程序的实现,但偏移的位数较少。
9.变址寻址:指令字中的形式地址与变址寄存器中内容之和。面向用户,扩大寻址范围。
10.堆栈寻址:按后进先出的原则。

10
边栏推荐
- Why do some programmers change careers before they are 30?
- UI automation test farewell to manual download of browser driver
- Use of vscode software
- [luat-air105] 4.1 file system FS
- 花了2晚,拿到了吴恩达@斯坦福大学的机器学习课程证书
- glibc strlen 实现方式分析
- MySQL winter vacation self-study 2022 11 (9)
- [groovy] string (string splicing | multi line string)
- [untitled]
- Analysis of glibc strlen implementation mode
猜你喜欢

The new project Galaxy token just announced by coinlist is gal

Test d'automatisation de l'interface utilisateur télécharger manuellement le pilote du navigateur à partir de maintenant

On the day 25K joined Tencent, I cried

面试汇总:这是一份全面&详细的Android面试指南

线程基础知识

ABP vNext microservice architecture detailed tutorial - distributed permission framework (Part 2)
![[groovy] string (string injection function | asBoolean | execute | minus)](/img/ea/bf1e6aa713cf54e29653e35b164560.jpg)
[groovy] string (string injection function | asBoolean | execute | minus)

Some enterprise interview questions of unity interview

函数基础学习02
![[wp][入门]刷弱类型题目](/img/d0/9eb3ade701057837d98e4a20082a10.png)
[wp][入门]刷弱类型题目
随机推荐
[software reverse - basic knowledge] analysis method, assembly instruction architecture
How rem is used
UI自動化測試從此告別手動下載瀏覽器驅動
[summary of two registration methods]
Use object composition in preference to class inheritance
NEW:Devart dotConnect ADO.NET
C # use awaiter
Deep learning - LSTM Foundation
This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
【PHP特性-变量覆盖】函数的使用不当、配置不当、代码逻辑漏洞
Analysis of dagger2 principle
UI automation test farewell to manual download of browser driver
[system security] ten thousand words summary system virtualization container bottom layer principle experiment
Excuse me, my request is a condition update, but it is blocked in the buffer. In this case, can I only flush the cache every time?
MindFusion. Virtual Keyboard for WPF
An elegant program for Euclid‘s algorithm
EasyCVR平台出现WebRTC协议视频播放不了是什么原因?
【web审计-源码泄露】获取源码方法,利用工具
[understand series after reading] 6000 words teach you to realize interface automation from 0 to 1
Nmap使用手册学习记录