Assembly之instruction之JUMP
JMP Jump unconditionally
Syntax JMP label
Operation PC + 2 × offset −> PC
Description
The 10-bit signed offset contained in the instruction LSBs is added to the program counter.
Status Bits
Status bits are not affected.
Hint:
This one-word instruction replaces the BRANCH instruction in the range of −511 to +512 words relative to the current program counter.
JNE Jump if not equal
JNZ Jump if not zero
Syntax JNE label; JNZ label
Operation If Z = 0: PC + 2 × offset −> PC
If Z = 1: execute following instruction
Description
The status register zero bit (Z) is tested. If it is reset, the 10-bit signed offset contained in the instruction LSBs is added to the program counter. If Z is set, the next instruction following the jump is executed.
Status Bits Status bits are not affected.
Example Jump to address TONI if R7 and R8 have different contents.
CMP R7,R8 ; COMPARE R7 WITH R8
JNE TONI ; if different: jump
...... ; if equal, continue
最新文章
- 反射的一些用法(WP8.1下)
- Django 1.10 找不到静态资源解决方法
- 关于Repeater嵌套绑定的问题
- Postgresql 帐号密码修改方法
- [PE结构分析] 11.资源表结构
- Win7上防火墙开放FTP服务以及ping解决方案(zz)
- firs tday
- java中String.valueOf()和toString()方法的区别
- SSH_框架整合5--验证用户名是否可用
- Mysql统计总结 - 最近30天,昨天的数据统计
- 使用powerdesigner 画图的详细说明
- 从零开始学习jQuery
- 你认为A和B所在方格颜色相同吗?
- C++统计代码注释行数 &; 有效代码行数 &; 代码注释公共行 &; 函数个数
- 随学随用的python-note
- java 跳出多层循环
- 常用的js效果
- 为ExecutorService增加shutdown hook
- django使用小结
- Linux - 系统基础操作
热门文章
- copy the content of a file muliptle times and save as ordered files:
- BUAA_OO_博客作业一
- ZooKeeper学习总结(2)——ZooKeeper开源Java客户端ZkClient使用
- 中国省市区地址三级联动插件---jQuery Distpicker
- CTF中编码与加解密总结
- [bzoj1007][HNOI2008]水平可见直线_单调栈
- PHP array_intersect()
- Nginx配置httpsserver
- C++开发人脸性别识别总结
- python 003 os模块 example