PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Base­Instruction­Writer Class / Base­Instruction­Writer Methods / Base­Instruction­Writer.​Find­Branching­Op­Code Method

BaseInstructionWriter.FindBranchingOpCode Method

Given an arbitrary branching opcode, looks up the corresponding near and far opcodes.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
protected static void FindBranchingOpCode(
	OpCodeNumber opCode,
	out OpCodeNumber nearOpCode,
	out OpCodeNumber farOpCode
)

Parameters

opCode
Type: PostSharp.Sdk.CodeModel.OpCodeNumber
An arbitrary branching opcode (short or long).
nearOpCode
Type: PostSharp.Sdk.CodeModel.OpCodeNumber
The near variant of opCode.
farOpCode
Type: PostSharp.Sdk.CodeModel.OpCodeNumber
The far variant of opCode.
See Also