Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addresses (0.21 sec)

  1. doc/asm.html

    </p>
    
    <p>
    Addressing modes:
    </p>
    
    <ul>
    
    <li>
    <code>(DI)(BX*2)</code>: The location at address <code>DI</code> plus <code>BX*2</code>.
    </li>
    
    <li>
    <code>64(DI)(BX*2)</code>: The location at address <code>DI</code> plus <code>BX*2</code> plus 64.
    These modes accept only 1, 2, 4, and 8 as scale factors.
    </li>
    
    </ul>
    
    <p>
    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)
  2. src/cmd/asm/internal/asm/asm.go

    	if err != nil {
    		p.errorf("bad size for DATA argument: %q", szop)
    	}
    	op = op[:n-2]
    	nameAddr := p.address(op)
    	if !p.validSymbol("DATA", &nameAddr, true) {
    		return
    	}
    	name := symbolName(&nameAddr)
    
    	// Operand 1 is an immediate constant or address.
    	valueAddr := p.address(operands[1])
    	switch valueAddr.Type {
    	case obj.TYPE_CONST, obj.TYPE_FCONST, obj.TYPE_SCONST, obj.TYPE_ADDR:
    		// OK
    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)
  3. src/cmd/asm/internal/asm/parse.go

    			fmt.Fprintf(w, "ref %s %s\n", name, abi)
    		}
    	}
    }
    
    func (p *Parser) start(operand []lex.Token) {
    	p.input = operand
    	p.inputPos = 0
    }
    
    // address parses the operand into a link address structure.
    func (p *Parser) address(operand []lex.Token) obj.Addr {
    	p.start(operand)
    	addr := obj.Addr{}
    	p.operand(&addr)
    	return addr
    }
    
    // parseScale converts a decimal string into a valid scale factor.
    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)
  4. src/cmd/asm/internal/arch/arm64.go

    		case "UXTH":
    			if a.Type == obj.TYPE_MEM {
    				return errors.New("invalid shift for the register offset addressing mode")
    			}
    			a.Reg = arm64.REG_UXTH + Rnum
    		case "UXTW":
    			// effective address of memory is a base register value and an offset register value.
    			if a.Type == obj.TYPE_MEM {
    				a.Index = arm64.REG_UXTW + Rnum
    			} else {
    				a.Reg = arm64.REG_UXTW + Rnum
    			}
    		case "UXTX":
    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)
  5. src/cmd/asm/internal/asm/testdata/riscv64.s

    	JMP	4(X5)					// 67804200
    
    	// CALL and JMP to symbol are encoded as JAL (using LR or ZERO
    	// respectively), with a R_RISCV_JAL relocation. The linker resolves
    	// the real address and updates the immediate, using a trampoline in
    	// the case where the address is not directly reachable.
    	CALL	asmtest(SB)				// ef000000
    	JMP	asmtest(SB)				// 6f000000
    
    	// Branch pseudo-instructions
    	BEQZ	X5, 2(PC)				// 63840200
    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