conversions

package
v0.0.0-...-26bd4cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type D2F

type D2F struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: d2f 字节: 0x90 操作: 将栈顶的 double 型转成 float 型

func (*D2F) Execute

func (this *D2F) Execute(frame *rtda.Frame)

type D2I

type D2I struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: d2i 字节: 0x8e 操作: 将栈顶的 double 型转成 int 型

func (*D2I) Execute

func (this *D2I) Execute(frame *rtda.Frame)

type D2L

type D2L struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: d2l 字节: 0x8f 操作: 将栈顶的 double 型转成 long 型

func (*D2L) Execute

func (this *D2L) Execute(frame *rtda.Frame)

type F2D

type F2D struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: f2d 字节: 0x8d 操作: 将栈顶的 float 型转成 double 型

func (*F2D) Execute

func (this *F2D) Execute(frame *rtda.Frame)

type F2I

type F2I struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: f2i 字节: 0x8b 操作: 将栈顶的 float 型转成 int 型

func (*F2I) Execute

func (this *F2I) Execute(frame *rtda.Frame)

type F2L

type F2L struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: f2l 字节: 0x8c 操作: 将栈顶的 float 型转成 long 型

func (*F2L) Execute

func (this *F2L) Execute(frame *rtda.Frame)

type I2B

type I2B struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: i2b 字节: 0x91 符号拓展 操作: 将栈顶的 int 型转成 byte 型 int -> byte -> int

func (*I2B) Execute

func (this *I2B) Execute(frame *rtda.Frame)

type I2C

type I2C struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: i2c 字节: 0x92 保留低16位 操作: 将栈顶的 int 型转成 char 型 int -> char -> int

func (*I2C) Execute

func (this *I2C) Execute(frame *rtda.Frame)

type I2D

type I2D struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: i2d 字节: 0x87 操作: 将栈顶的 int 型转成 double 型

func (*I2D) Execute

func (this *I2D) Execute(frame *rtda.Frame)

type I2F

type I2F struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: i2f 字节: 0x86 操作: 将栈顶的 int 型转成 float 型

func (*I2F) Execute

func (this *I2F) Execute(frame *rtda.Frame)

type I2L

type I2L struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: i2l 字节: 0x85 操作: 将栈顶的 int 型转成 long 型

func (*I2L) Execute

func (this *I2L) Execute(frame *rtda.Frame)

type I2S

type I2S struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: i2s 字节: 0x93 符号拓展 操作: 将栈顶的 int 型转成 short 型 int -> short -> int

func (*I2S) Execute

func (this *I2S) Execute(frame *rtda.Frame)

type L2D

type L2D struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: l2d 字节: 0x8a 操作: 将栈顶的 long 型转成 double 型

func (*L2D) Execute

func (this *L2D) Execute(frame *rtda.Frame)

type L2F

type L2F struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: l2f 字节: 0x89 操作: 将栈顶的 long 型转成 float 型

func (*L2F) Execute

func (this *L2F) Execute(frame *rtda.Frame)

type L2I

type L2I struct {
	base.NoOperandsInstruction
}

指令定义来源 The Java® Virtual Machine Specification https://docs.oracle.com/javase/specs/jvms/se8/jvms8.pdf

格式: l2i 字节: 0x88 操作: 将栈顶的 long 型转成 int 型

func (*L2I) Execute

func (this *L2I) Execute(frame *rtda.Frame)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL