diff --git a/src/Isa/Acc32.hs b/src/Isa/Acc32.hs index e71ef97..a228f6e 100644 --- a/src/Isa/Acc32.hs +++ b/src/Isa/Acc32.hs @@ -26,7 +26,7 @@ instance Hashable Register -- | The 'Isa' type represents the instruction set architecture for the Acc32 machine. -- Each constructor corresponds to a specific instruction. data Isa w l - = -- | Syntax: @load_imm @ Load an immediate value into the accumulator. + = -- | Syntax: @load_imm
@ Load an immediate value into the accumulator. LoadImm l | -- | Syntax: @load_addr
@ Load a value from a specific address into the accumulator. LoadAddr l @@ -40,25 +40,25 @@ data Isa w l StoreRel l | -- | Syntax: @store_ind
@ Store the accumulator value into an indirect address. StoreInd l - | -- | Syntax: @add @ Add a value to the accumulator. + | -- | Syntax: @add
@ Add a value from a specific address to the accumulator. Add l - | -- | Syntax: @sub @ Subtract a value from the accumulator. + | -- | Syntax: @sub
@ Subtract from the accumulator a value from a specific address. Sub l - | -- | Syntax: @mul @ Multiply the accumulator by a value. + | -- | Syntax: @mul
@ Multiply the accumulator by a value from a specific address. Mul l - | -- | Syntax: @div @ Divide the accumulator by a value. + | -- | Syntax: @div
@ Divide the accumulator by a value from a specific address. Div l - | -- | Syntax: @rem @ Compute the remainder of the accumulator divided by a value. + | -- | Syntax: @rem
@ Compute the remainder of the accumulator divided by a value from a specific address. Rem l - | -- | Syntax: @shiftl @ Shift the accumulator left by a number of bits. + | -- | Syntax: @shiftl
@ Shift the accumulator left by a number of bits from a specific address. ShiftL l - | -- | Syntax: @shiftr @ Shift the accumulator right by a number of bits. + | -- | Syntax: @shiftr
@ Shift the accumulator right by a number of bits from a specific address. ShiftR l - | -- | Syntax: @and @ Perform a bitwise AND on the accumulator with a value. + | -- | Syntax: @and
@ Perform a bitwise AND on the accumulator with a value from a specific address. And l - | -- | Syntax: @or @ Perform a bitwise OR on the accumulator with a value. + | -- | Syntax: @or
@ Perform a bitwise OR on the accumulator with a value from a specific address. Or l - | -- | Syntax: @xor @ Perform a bitwise XOR on the accumulator with a value. + | -- | Syntax: @xor
@ Perform a bitwise XOR on the accumulator with a value from a specific address. Xor l | -- | Syntax: @not@ Perform a bitwise NOT on the accumulator. Not