Пример #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()
}