예제 #1
0
func (this *DataJ) ToUint32() uint32 {
	return bits.Concat(this.Opcode, this.Address).ToUint32()
}
예제 #2
0
func (this *DataI) ToUint32() uint32 {
	return bits.Concat(this.Opcode, this.RegisterD, this.RegisterS, this.Immediate).ToUint32()
}
예제 #3
0
func (this *DataR) ToUint32() uint32 {
	return bits.Concat(this.Opcode, this.RegisterD, this.RegisterS, this.RegisterT, this.Shamt, this.Funct).ToUint32()
}