B2R2


Parser Module

Functions and values

Function or value Description

isTwoBytes b1

Full Usage: isTwoBytes b1

Parameters:
    b1 : uint16

Returns: bool
b1 : uint16
Returns: bool

parse reader addr pos

Full Usage: parse reader addr pos

Parameters:
Returns: AVRInstruction
reader : BinReader
addr : Addr
pos : int
Returns: AVRInstruction

parse000000 b32

Full Usage: parse000000 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

0000 00-- ---- ----

b32 : uint32
Returns: Opcode * Operands

parse1000 b32

Full Usage: parse1000 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands
b32 : uint32
Returns: Opcode * Operands

parse1001 b32

Full Usage: parse1001 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands
b32 : uint32
Returns: Opcode * Operands

parse1001000 b32

Full Usage: parse1001000 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

1001 000- ---- ----

b32 : uint32
Returns: Opcode * Operands

parse1001001 b32

Full Usage: parse1001001 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

1001 001- ---- ----

b32 : uint32
Returns: Opcode * Operands

parse1001010 b32

Full Usage: parse1001010 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

1001 010- ---- ----

b32 : uint32
Returns: Opcode * Operands

parse1010 b32

Full Usage: parse1010 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands
b32 : uint32
Returns: Opcode * Operands

parse1111 b32

Full Usage: parse1111 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands
b32 : uint32
Returns: Opcode * Operands

parse11110 b32

Full Usage: parse11110 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

1111 0- kk kkkk k---

b32 : uint32
Returns: Opcode * Operands

parse11111 b32

Full Usage: parse11111 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

1111 1--d dddd 0bbb

b32 : uint32
Returns: Opcode * Operands

parseFourBits b32

Full Usage: parseFourBits b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

Parse the instruction using only the first 4 bits

b32 : uint32
Returns: Opcode * Operands

parseFourBytes b1

Full Usage: parseFourBytes b1

Parameters:
    b1 : uint32

Returns: Opcode * Operands
b1 : uint32
Returns: Opcode * Operands

parseNoOp1000 b32

Full Usage: parseNoOp1000 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

1001 010- ---- 1000 with no operands

b32 : uint32
Returns: Opcode * Operands

parseNoOp1001 b32

Full Usage: parseNoOp1001 b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

1001 010- ---- 1001 with no operands

b32 : uint32
Returns: Opcode * Operands

parseSixBits b32

Full Usage: parseSixBits b32

Parameters:
    b32 : uint32

Returns: Opcode * Operands

Parse the instruction using only the first 6 bits

b32 : uint32
Returns: Opcode * Operands

parseTwoBytes bin

Full Usage: parseTwoBytes bin

Parameters:
    bin : uint32

Returns: Opcode * Operands
bin : uint32
Returns: Opcode * Operands