首页 > 编程语言 >汇编-JG有符号大于则跳转

汇编-JG有符号大于则跳转

时间:2023-12-14 13:34:43浏览次数:33  
标签:汇编 JG 符号 label0 mov eax 跳转 main

 

.386  
.model flat,stdcall 
option casemap:none
.stack 4096

Include Irvine32.inc
includelib Irvine32.lib

ExitProcess PROTO,dwExitCode:DWORD  
 
.data       
 
.code   
main PROC   
    
    mov eax, +10
    cmp eax, +10
    jg label0   ;有符号大于则跳转
    ;等于没跳转
    mov ecx,88h
    mov eax,+100
    cmp eax,+90
    jg label0   ;有符号大于则跳转
    
    mov ecx,2000h
    jmp e
    
    label0:
    mov ebx,99h
    

    e:
    INVOKE ExitProcess,0  
main ENDP   
END main

 

 

 

 

 

 

 

标签:汇编,JG,符号,label0,mov,eax,跳转,main
From: https://www.cnblogs.com/liming19680104/p/17900992.html

相关文章

  • 汇编-JNAE无符号小于则跳转
     .386.modelflat,stdcalloptioncasemap:none.stack4096IncludeIrvine32.incincludelibIrvine32.libExitProcessPROTO,dwExitCode:DWORD.data.codemainPROCmoveax,10cmpeax,100;比较eax和10的大小jnaelabel......
  • 汇编-JE等于则跳转和JNE不等于则跳转
     JE等于则跳转 .386.modelflat,stdcalloptioncasemap:none.stack4096IncludeIrvine32.incincludelibIrvine32.libExitProcessPROTO,dwExitCode:DWORD.data.codemainPROCmoveax,10cmpeax,10;相等相减......
  • 汇编-jp奇偶标志位PF=1则跳转(1的个数为偶数则跳转)
      .386.modelflat,stdcalloptioncasemap:none.stack4096IncludeIrvine32.incincludelibIrvine32.libExitProcessPROTO,dwExitCode:DWORD.data.codemainPROCandal,00000011b;让奇偶标志位PF=1jpt1;奇偶......
  • 汇编- jns符号位SF=0则跳转(非负数则跳转)
     .386.modelflat,stdcalloptioncasemap:none.stack4096IncludeIrvine32.incincludelibIrvine32.libExitProcessPROTO,dwExitCode:DWORD.data.codemainPROCandal,00000001b;让符号位SF=0jnst1;jns符号位S......
  • 汇编-js符号位SF=1则跳转(负数则跳转)
      .386.modelflat,stdcalloptioncasemap:none.stack4096IncludeIrvine32.incincludelibIrvine32.libExitProcessPROTO,dwExitCode:DWORD.data.codemainPROCoral,10000000b;让符号位SF=1jst1;js符号位S......
  • radio单选按钮选中时当前页面实现跳转
    下面是一个单选的span标签:<spanstyle="width:500px;"><inputtype="radio"name="chart"value="overAll"checked="checked"/>搜狗<inputtype="radio"name="chart"value="in......
  • H5网页跳转微信小程序
    获取scheme码该接口用于获取小程序scheme码,适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景。目前仅针对国内非个人主体的小程序开放,详见获取URLscheme。 效果:https://www.youlingrc.com/minishare.html项目地址:https://github.com/yusheng9/openwxchat H......
  • 汇编-JC进位跳转
    进位标志位CF=1就跳转.386.modelflat,stdcalloptioncasemap:none.stack4096IncludeIrvine32.incincludelibIrvine32.libExitProcessPROTO,dwExitCode:DWORD.data.codemainPROCstc;CF置1cf=1jct1......
  • nginx 反向代理实现不同来路IP跳转到不同网站服务器
    http{#定义一个map,将来路IP映射到后端服务器map$remote_addr$backend_server{defaultserver1;192.168.1.1server2;#添加更多的IP地址映射}server{listen80;#使用if语句根据来路IP选择后......
  • 鸿蒙Watch 页面跳转
    新建页面config.json回自动注册添加跳转<buttontype="capsule"onclick="toStatusMonitor">状态检测</button>写跳转方法importrouterfrom'@system.router';exportdefault{data:{},onInit(){},onShow(){},......