pigmeo-compiler : Pigmeo.Compiler.BackendPIC14 Namespace

SUBLW Class

The W register is subtracted (2’s complement method) from the eight-bit literal "k". The result is placed in the W register

public class SUBLW : AsmInstruction


Remarks

To be added.

Members

See Also: Inherited members from AsmInstruction.

Constructors

The W register is subtracted (2’s complement method) from the eight-bit literal "k". The result is placed in the W register

Fields

b_DestinationBit
Pigmeo.UInt3 . When reading or writting a bit, this specifies the bit position within the byte specified in "file" (Inherited from AsmInstruction.)
comment
string . Comment at the end of the line (Inherited from AsmInstruction.)
CustomString
string . Code for special instructions or directives (Inherited from AsmInstruction.)
DestinationWF
Destination . Specifies if the value will be written to W or F (Inherited from AsmInstruction.)
directive
Directive . Name of the directive (Inherited from AsmInstruction.)
file
string . Position in the RAM of the byte being read or written (Inherited from AsmInstruction.)
FirstValue
string . The first string-type parameter of a directive (Inherited from AsmInstruction.)
label
string . Label of the line (Inherited from AsmInstruction.)
LiteralAddr
string . Label of the address in the program memory passed as parameter to a literal-oriented instruction (Inherited from AsmInstruction.)
LiteralNumber
byte . Value of the number passed as parameter to some instructions (Inherited from AsmInstruction.)
OP
OpCode . Name of the instruction (Inherited from AsmInstruction.)
Prefix
string . Prefix added to some directives (Inherited from AsmInstruction.)
SecondValue
string . The second string-type parameter of a directive (Inherited from AsmInstruction.)
separator
string . Separator char or string between FirstValue and SecondValue used in some directives (Inherited from AsmInstruction.)
type
InstructionType . To be added. (Inherited from AsmInstruction.)

Member Details

SUBLW Constructor

public SUBLW (string label, byte k, string comment)

The W register is subtracted (2’s complement method) from the eight-bit literal "k". The result is placed in the W register

Parameters

label
To be added.
k
To be added.
comment
To be added.

Remarks

To be added.

Required Assembly Versions:

  • pigmeo-compiler 0.0.0.0