Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for jumpMIPS (0.18 sec)

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

    // MIPS (MIPS64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/mips"
    )
    
    func jumpMIPS(word string) bool {
    	switch word {
    	case "BEQ", "BFPF", "BFPT", "BGEZ", "BGEZAL", "BGTZ", "BLEZ", "BLTZ", "BLTZAL", "BNE", "JMP", "JAL", "CALL":
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 04 19:06:44 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arch.go

    	return &Arch{
    		LinkArch:       linkArch,
    		Instructions:   instructions,
    		Register:       register,
    		RegisterPrefix: registerPrefix,
    		RegisterNumber: mipsRegisterNumber,
    		IsJump:         jumpMIPS,
    	}
    }
    
    func archMips64(linkArch *obj.LinkArch) *Arch {
    	register := make(map[string]int16)
    	// Create maps for easy lookup of instruction names etc.
    	// Note that there is no list of names as there is for x86.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
Back to top