Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for jumped (0.21 sec)

  1. doc/go1.17_spec.html

    For instance, this example:
    </p>
    
    <pre>
    	goto L  // BAD
    	v := 3
    L:
    </pre>
    
    <p>
    is erroneous because the jump to label <code>L</code> skips
    the creation of <code>v</code>.
    </p>
    
    <p>
    A "goto" statement outside a <a href="#Blocks">block</a> cannot jump to a label inside that block.
    For instance, this example:
    </p>
    
    <pre>
    if n%2 == 1 {
    	goto L1
    }
    for n &gt; 0 {
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	FCMPD $(0.0), F25                          // 2823601e
    	FCMPES F16, F30                            // d023301e
    	FCMPES $(0.0), F29                         // b823201e
    	FCMPED F13, F10                            // 50216d1e
    	FCMPED $(0.0), F25                         // 3823601e
    	FCSELS EQ, F26, F27, F25                   // 590f3b1e
    	FCSELD PL, F8, F22, F7                     // 075d761e
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
  3. doc/asm.html

    </p>
    
    <p>
    Branches and direct jumps are always written as offsets to the PC, or as
    jumps to labels:
    </p>
    
    <pre>
    label:
    	MOVW $0, R1
    	JMP label
    </pre>
    
    <p>
    Each label is visible only within the function in which it is defined.
    It is therefore permitted for multiple functions in a file to define
    and use the same label names.
    Direct jumps and call instructions can target text symbols,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  4. 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.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  5. 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
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. doc/go_spec.html

    For instance, this example:
    </p>
    
    <pre>
    	goto L  // BAD
    	v := 3
    L:
    </pre>
    
    <p>
    is erroneous because the jump to label <code>L</code> skips
    the creation of <code>v</code>.
    </p>
    
    <p>
    A "goto" statement outside a <a href="#Blocks">block</a> cannot jump to a label inside that block.
    For instance, this example:
    </p>
    
    <pre>
    if n%2 == 1 {
    	goto L1
    }
    for n &gt; 0 {
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/arm64.go

    	"CALL":  true,
    	"CBZ":   true,
    	"CBZW":  true,
    	"CBNZ":  true,
    	"CBNZW": true,
    	"JMP":   true,
    	"TBNZ":  true,
    	"TBZ":   true,
    
    	// ADR isn't really a jump, but it takes a PC or label reference,
    	// which needs to patched like a jump.
    	"ADR":  true,
    	"ADRP": true,
    }
    
    func jumpArm64(word string) bool {
    	return arm64Jump[word]
    }
    
    var arm64SpecialOperand map[string]arm64.SpecialOperand
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/asm.go

    		if p.arch.Family == sys.S390X {
    			// 3-operand jumps.
    			target = &a[2]
    			prog.From = a[0]
    			if a[1].Reg != 0 {
    				// Compare two registers and jump.
    				prog.Reg = p.getRegister(prog, op, &a[1])
    			} else {
    				// Compare register with immediate and jump.
    				prog.AddRestSource(a[1])
    			}
    			break
    		}
    		if p.arch.Family == sys.ARM64 {
    			// Special 3-operand jumps.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  9. api/go1.19.txt

    pkg debug/elf, const R_LARCH_COPY R_LARCH #46229
    pkg debug/elf, const R_LARCH_IRELATIVE = 12 #46229
    pkg debug/elf, const R_LARCH_IRELATIVE R_LARCH #46229
    pkg debug/elf, const R_LARCH_JUMP_SLOT = 5 #46229
    pkg debug/elf, const R_LARCH_JUMP_SLOT R_LARCH #46229
    pkg debug/elf, const R_LARCH_MARK_LA = 20 #46229
    pkg debug/elf, const R_LARCH_MARK_LA R_LARCH #46229
    pkg debug/elf, const R_LARCH_MARK_PCREL = 21 #46229
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  10. src/cmd/asm/internal/asm/testdata/riscv64.s

    	NOT	X5					// 93c2f2ff
    	NOT	X5, X6					// 13c3f2ff
    
    	// NEG/NEGW pseudo-instructions
    	NEG	X5					// b3025040
    	NEG	X5, X6					// 33035040
    	NEGW	X5					// bb025040
    	NEGW	X5, X6					// 3b035040
    
    	// This jumps to the second instruction in the function (the
    	// first instruction is an invisible stack pointer adjustment).
    	JMP	start					// JMP	2
    
    	JMP	2(PC)					// 6f008000
    	JMP	(X5)					// 67800200
    	JMP	4(X5)					// 67804200
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 22 04:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (1)
Back to top