Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Razman Ramedan
11/21/17 23:32
Read: 681 times


 
#190815 - Arithmetic operation with signed number & fractional number
Hi everyone,

I want to implement PID algorithm based on 8051/8052 using assembly language. Here are some questions:


1) Since the Kp, Ki and Kd can be a fractional numbers, can 8051/8052 handle calculation using fractional number?

2) How to deal with signed numbers for 8051/8052?

3) What is the maximum (positive number) and minimum (negative number) of signed number can 8051/8052 handle?

4) Since 8051/8052 is an 8 bit microcontroller, can it be manipulated to perform 16 bit arithmetic operation?

I would appreciate if anyone could provide the link related to advanced arithmetic operation of 8051/8052.

Thank you.

List of 16 messages in thread
TopicAuthorDate
Arithmetic operation with signed number & fractional number      Razman Ramedan      11/21/17 23:32      
   Fractional Arithmetic      Michael Karas      11/22/17 03:34      
      agree      Erik Malund      11/22/17 08:29      
   Why Assembler?      Andy Neil      12/05/17 01:49      
      Hard to do better.      Michael Karas      01/25/18 21:36      
         Assembly vs. Keil      James Hinnant      02/14/18 17:43      
            assembly vs C      Erik Malund      02/15/18 08:18      
               Re: assembly vs C      James Hinnant      02/15/18 15:15      
                  In the good old days...      Kai Klaas      02/16/18 05:56      
                     in the new days      Erik Malund      02/17/18 08:52      
   Hi Razman, here are some links      James Hinnant      02/15/18 15:41      
      Code samples      James Hinnant      02/15/18 15:55      
         Oops - 8052.com code library is broken      James Hinnant      02/17/18 15:43      
      A bit late      Andy Neil      02/19/18 16:13      
         threads autolocking at approx. 2 months      James Hinnant      02/20/18 16:49      
            threads autolocking      Andy Neil      02/21/18 03:15      

Back to Subject List