Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sym (0.02 sec)

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

    		switch sz {
    		case 1, 2, 4, 8:
    			nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Offset)
    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    			nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64))
    		default:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    				break
    			}
    			fallthrough
    		default:
    			// We have a symbol. Parse $sym±offset(symkind)
    			p.symbolReference(a, p.qualifySymbol(name), prefix)
    		}
    		// fmt.Printf("SYM %s\n", obj.Dconv(&emptyProg, 0, a))
    		if p.peek() == scanner.EOF {
    			return
    		}
    	}
    
    	// Special register list syntax for arm: [R1,R3-R7]
    	if tok.ScanToken == '[' {
    		if prefix != 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    		t.Errorf(format, args...)
    		ok = false
    	}
    	obj.Flushplist(ctxt, pList, nil)
    
    	for p := top; p != nil; p = p.Link {
    		if p.As == obj.ATEXT {
    			text = p.From.Sym
    		}
    		hexes := hexByLine[p.Line()]
    		if hexes == "" {
    			continue
    		}
    		delete(hexByLine, p.Line())
    		if text == nil {
    			t.Errorf("%s: instruction outside TEXT", p)
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top