Skip to content

Commit 23a0a08

Browse files
Fixed unsigned power of two division under 6809.
1 parent 44d8dd2 commit 23a0a08

File tree

1 file changed

+1
-0
lines changed
  • ugbc/src/targets/common/6809

1 file changed

+1
-0
lines changed

ugbc/src/targets/common/6809/_init.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ void setup_embedded( Environment * _environment ) {
5050
_environment->embedded.cpu_math_mul_8bit_to_16bit = 1;
5151
_environment->embedded.cpu_math_div_8bit_to_8bit = 1;
5252
_environment->embedded.cpu_math_div2_const_8bit = 1;
53+
_environment->embedded.cpu_math_div2_const_16bit = 1;
5354
_environment->embedded.cpu_math_mul_16bit_to_32bit = 1;
5455
_environment->embedded.cpu_math_div_16bit_to_16bit = 1;
5556
_environment->embedded.cpu_math_div_32bit_to_16bit = 1;

0 commit comments

Comments
 (0)