Find Products & Suppliers related to
Converting from 8051 to Microchip Assembler: A Quick Reference
|
|
Research
Converting from 8051 to Microchip Assembler: A Quick Reference
|
From Microchip Technology, Inc.
When migrating assembly language programs from one family of microcontrollers to another, the first question is almost always: “What’s the equivalent opcode?” Some operations, like addition and subtraction, are self-evident and practically universal. Other instructions may have some subtle differences in syntax or spelling that make direct conversions a bit trickier. Occasionally, some instructions simply don’t have a direct equivalent in the target set, or an equivalent exists but is explained in different terms. Another question that arises is that of addressing modes. Typically, Direct and Indirect Addressing modes are standard in all architectures. However, they tend to be different in limitations and feature set.
To help simplify the conversion process, this application note provides a table of the instruction set of the
8051 8-bit microcontroller family and their equivalents in the PICmicro® instruction sets (Table 1). It is organized alphabetically by the 8051 instruction mnemonic in the first column, followed by the common description of the operation and the closest equivalent opcode or opcode sequence in the Microchip PIC16 and PIC18 instruction sets. In addition, the size of the instructions (in words or bytes, as appropriate) and the number of machine or instruction cycles required for execution are listed for each entry.
Products & Services
Digital signal processors (DSPs) are specialized microprocessors designed specifically for digital signal processing, usually in real-time. DSPs can also be used to perform general-purpose computations, but are not optimized for this function.
Microprocessor chips (MPU) are silicon devices that serve as the central processing unit (CPU) in computers. They contain thousands of electronic components and use a collection of machine instructions to perform mathematical operations and move data from one memory location to another.
Product training is performed by suppliers to teach customers how to use purchased products. Third-party training is not included in this area.
Arithmetic logic units (ALU) perform arithmetic and logic operations on binary data inputs. In some processors, the ALU is divided into two units: an arithmetic unit (AU) and a logic unit (LU).
Flow controllers monitor and maintain proper humidity levels in environmental test applications, or in other areas such as food storage or electronic room regulation.
Product Announcements
|
|
Mouser Electronics, Inc., known for its rapid availability and introduction of the newest products, today announced it is stocking the PIC32 family of 32-bit microcontrollers (MCUs) from Microchip...
(read more)
|
|
|
|
Ramtron added F-RAM to its fast and flexible Versa 8051s for a quick and reliable nonvolatile data storage and processing system that only a F-RAM enhanced MCU can provide.
The VRS51L3xxx is...
(read more)
|
|
|
|
Instek's Digital Storage Scopes encompasses 31 models, 60MHz~250MHz and up to 25GSa/s E.T. sample rate per channel. Memory for waveform analysis is 25K points. Models include GDS-2062/...
(read more)
|
|
|
|
The Silicon Labs ToolStick is an easy to use development system that allows designers to develop and debug application firmware directly on the target microcontroller using the Silicon Labs Integrated...
(read more)
|
|
|
|
The Secure Microcontroller for Electronic Transaction Terminal/Reader is a low-power, high-performance, SC100 32-bit microcontroller based on the ARM® enhanced RISC architecture. This new SC100 core...
(read more)
|
|
|
|
Mouser Electronics, Inc., known for its rapid introduction of the newest products, today announced it is stocking the PICDEM™ PIC18 Explorer Board from Microchip Technology (Part # DM183032), a...
(read more)
|
|
|
|
CO : 0 ~ 999 ppm range
MAX Hold with Time stamp
Alarm level setting
Replaceable sensor
Manual Data Memory and Read (999 sets. direct reading from LCD display)
Auto Data Memory and Read...
(read more)
|
|
|
|
The DL06 micro PLC combines fixed I/O of 20 inputs and 16 outputs with four option card slots for expansion (discrete, analog, communication modules), all in the same package. Option modules support...
(read more)
|
|
Topics of Interest
When migrating assembly language programs from one family of microcontrollers to another, the first question is almost always: ?What?s the equivalent opcode?? Some operations, like addition and...
( Read More)
AN576 Techniques to Disable Global Interrupts ing this instruction, the program would complete execu- tion of this instruction, and then immediately branch to Author: Mark Palmer the user’s interrupt...
( Read More)
Microchip Technology’s PICDEM™ USB Demonstration Board (DM163010) was designed as a development platform for PlC16C745/765 USB microcontrollers, prior to the introduction of the PIC184550 family of...
( Read More)
The PIC16C5X/XX microcontrollers from Microchip Technology Inc., provide significant execution speed and code-compaction improvement over any other 8-bit microcontroller in its price range. The...
( Read More)
This application note shows how to implement a table look-up for the following devices: ? PIC12CXXX ? PIC12CEXXX ? PIC16CXXX ? PIC16CEXXX ? PIC16FXXX The examples shown are for the PIC16CXXX family.
( Read More)
Technical Articles
|
|