Browse Source

+ also support the 8-bit mul helpers in the generic code of nadd

git-svn-id: branches/z80@44990 -
nickysn 5 năm trước cách đây
mục cha
commit
c0ea4d826c
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      compiler/nadd.pas

+ 4 - 0
compiler/nadd.pas

@@ -4003,6 +4003,10 @@ implementation
                      result := nil;
 
                      case torddef(resultdef).ordtype of
+                       s8bit:
+                         procname := 'fpc_mul_shortint';
+                       u8bit:
+                         procname := 'fpc_mul_byte';
                        s16bit:
                          procname := 'fpc_mul_integer';
                        u16bit: