From cdcb701aa48a974f97df31438f32071b3001ac7b Mon Sep 17 00:00:00 2001 From: Test_User Date: Wed, 14 Jun 2023 04:04:22 -0400 Subject: Add a bunch of fewer-parameter versions of instructions, specify that special returns only take effect after other writes complete --- cpu/instructions/bitwise/and_inplace.txt | 10 ++++++++++ cpu/instructions/bitwise/arithmetic_shift_right_inplace.txt | 10 ++++++++++ cpu/instructions/bitwise/exclusive_or_inplace.txt | 10 ++++++++++ cpu/instructions/bitwise/not_inplace.txt | 10 ++++++++++ cpu/instructions/bitwise/or_inplace.txt | 10 ++++++++++ cpu/instructions/bitwise/rotate_left_inplace.txt | 10 ++++++++++ cpu/instructions/bitwise/rotate_right_inplace.txt | 10 ++++++++++ cpu/instructions/bitwise/shift_left_inplace.txt | 10 ++++++++++ cpu/instructions/bitwise/shift_right_inplace.txt | 10 ++++++++++ 9 files changed, 90 insertions(+) create mode 100644 cpu/instructions/bitwise/and_inplace.txt create mode 100644 cpu/instructions/bitwise/arithmetic_shift_right_inplace.txt create mode 100644 cpu/instructions/bitwise/exclusive_or_inplace.txt create mode 100644 cpu/instructions/bitwise/not_inplace.txt create mode 100644 cpu/instructions/bitwise/or_inplace.txt create mode 100644 cpu/instructions/bitwise/rotate_left_inplace.txt create mode 100644 cpu/instructions/bitwise/rotate_right_inplace.txt create mode 100644 cpu/instructions/bitwise/shift_left_inplace.txt create mode 100644 cpu/instructions/bitwise/shift_right_inplace.txt (limited to 'cpu/instructions/bitwise') diff --git a/cpu/instructions/bitwise/and_inplace.txt b/cpu/instructions/bitwise/and_inplace.txt new file mode 100644 index 0000000..21cb147 --- /dev/null +++ b/cpu/instructions/bitwise/and_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 2 + +Usage: + and_inplace + +Effect: + Sets to the bitwise and of and + +Exceptions: + None diff --git a/cpu/instructions/bitwise/arithmetic_shift_right_inplace.txt b/cpu/instructions/bitwise/arithmetic_shift_right_inplace.txt new file mode 100644 index 0000000..9507e65 --- /dev/null +++ b/cpu/instructions/bitwise/arithmetic_shift_right_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 2 + +Usage: + arithmetic_shift_right_inplace + +Effect: + Sets to shifted to the right bits, filling in leading bits with the most significant bit of + +Exceptions: + None diff --git a/cpu/instructions/bitwise/exclusive_or_inplace.txt b/cpu/instructions/bitwise/exclusive_or_inplace.txt new file mode 100644 index 0000000..e0b4b47 --- /dev/null +++ b/cpu/instructions/bitwise/exclusive_or_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 2 + +Usage: + exclusive_or_inplace + +Effect: + Sets to the bitwise exclusive or of and + +Exceptions: + None diff --git a/cpu/instructions/bitwise/not_inplace.txt b/cpu/instructions/bitwise/not_inplace.txt new file mode 100644 index 0000000..f854a8d --- /dev/null +++ b/cpu/instructions/bitwise/not_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 1 + +Usage: + not_inplace + +Effect: + Sets to the bitwise not of + +Exceptions: + None diff --git a/cpu/instructions/bitwise/or_inplace.txt b/cpu/instructions/bitwise/or_inplace.txt new file mode 100644 index 0000000..22598a3 --- /dev/null +++ b/cpu/instructions/bitwise/or_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 2 + +Usage: + or_inplace + +Effect: + Sets to the bitwise or of and + +Exceptions: + None diff --git a/cpu/instructions/bitwise/rotate_left_inplace.txt b/cpu/instructions/bitwise/rotate_left_inplace.txt new file mode 100644 index 0000000..65424f5 --- /dev/null +++ b/cpu/instructions/bitwise/rotate_left_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 2 + +Usage: + rotate_left_inplace + +Effect: + Sets to rotated to the left bits + +Exceptions: + None diff --git a/cpu/instructions/bitwise/rotate_right_inplace.txt b/cpu/instructions/bitwise/rotate_right_inplace.txt new file mode 100644 index 0000000..18f7968 --- /dev/null +++ b/cpu/instructions/bitwise/rotate_right_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 2 + +Usage: + rotate_right_inplace + +Effect: + Sets to rotated to the right bits + +Exceptions: + None diff --git a/cpu/instructions/bitwise/shift_left_inplace.txt b/cpu/instructions/bitwise/shift_left_inplace.txt new file mode 100644 index 0000000..109e271 --- /dev/null +++ b/cpu/instructions/bitwise/shift_left_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 2 + +Usage: + shift_left_inplace + +Effect: + Sets to shifted to the left bits + +Exceptions: + None diff --git a/cpu/instructions/bitwise/shift_right_inplace.txt b/cpu/instructions/bitwise/shift_right_inplace.txt new file mode 100644 index 0000000..4000d6e --- /dev/null +++ b/cpu/instructions/bitwise/shift_right_inplace.txt @@ -0,0 +1,10 @@ +Number of parameters: 2 + +Usage: + shift_right_inplace + +Effect: + Sets to shifted to the right bits + +Exceptions: + None -- cgit v1.2.3