Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsJump (0.03 sec)

  1. src/cmd/asm/internal/arch/arch.go

    	RegisterPrefix map[string]bool
    	// RegisterNumber converts R(10) into arm.REG_R10.
    	RegisterNumber func(string, int16) (int16, bool)
    	// Instruction is a jump.
    	IsJump func(word string) bool
    }
    
    // nilRegisterNumber is the register number function for architectures
    // that do not accept the R(N) notation. It always returns failure.
    func nilRegisterNumber(name string, n int16) (int16, bool) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 07 02:20:14 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	p.addr = p.addr[0:0]
    	p.isJump = p.arch.IsJump(word)
    	for _, op := range operands {
    		addr := p.address(op)
    		if !p.isJump && addr.Reg < 0 { // Jumps refer to PC, a pseudo.
    			p.errorf("illegal use of pseudo-register in %s", word)
    		}
    		p.addr = append(p.addr, addr)
    	}
    	if p.isJump {
    		p.asmJump(op, cond, p.addr)
    		return
    	}
    	p.asmInstruction(op, cond, p.addr)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top