Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PCALIGN (0.16 sec)

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

    	}
    	p.append(prog, "", true)
    }
    
    // asmPCAlign assembles a PCALIGN pseudo-op.
    // PCALIGN $16
    func (p *Parser) asmPCAlign(operands [][]lex.Token) {
    	if len(operands) != 1 {
    		p.errorf("expect one operand for PCALIGN")
    		return
    	}
    
    	// Operand 0 must be an immediate constant.
    	key := p.address(operands[0])
    	if !p.validImmediate("PCALIGN", &key) {
    		return
    	}
    
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    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)
  2. doc/asm.html

    <p>
    The <code>PCALIGN</code> pseudo-instruction is used to indicate that the next instruction should be aligned
    to a specified boundary by padding with no-op instructions.
    </p>
    
    <p>
    It is currently supported on arm64, amd64, ppc64, loong64 and riscv64.
    
    For example, the start of the <code>MOVD</code> instruction below is aligned to 32 bytes:
    <pre>
    PCALIGN $32
    MOVD $2, R0
    </pre>
    </p>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    	switch word {
    	case "DATA":
    		p.asmData(operands)
    	case "FUNCDATA":
    		p.asmFuncData(operands)
    	case "GLOBL":
    		p.asmGlobl(operands)
    	case "PCDATA":
    		p.asmPCData(operands)
    	case "PCALIGN":
    		p.asmPCAlign(operands)
    	case "TEXT":
    		p.asmText(operands)
    	default:
    		return false
    	}
    	return true
    }
    
    // symDefRef scans a line for potential text symbol definitions and
    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)
Back to top