Search Engine www.edaboard.com

# Assembly Conversion

34 Threads found on edaboard.com: Assembly Conversion

## help with numbers to letters conversion in assembly 8051

hi, I'm trying to complete my project in assembly 8051 , and thanks to all of you I completed the 1st phase now I'm stuck in the 2nd phase I should convert a number to its letters --->> for example if I put R3 = #31 it should print thirty one I know I had to make an arrays: 1. single digit (one to nine) 2. double digit (eleven to nine

## How Convert 32 bit to BCD in 8085 Assembly Code

Here is a possible algorithm to do the conversion. In this example: 0xEF8DA573 = a hexadecimal 32 bit number to convert to bcd 14, 15, 8, 13, 10, 5, 7, 3 = decimal equivalents of each nibble above 4,019,037,555 = the decimal result we want to end up with 4,294,967,295 = maximum possible decimal value of a

## High Sampling Rate of Analog or Digital Conversion to PWM

There are easy / cheap PWM conversions, but accuracy is not typically their reason for being; more usually they are a part of a closed loop assembly and not error-significant. I think a serial output ADC and serial input DAC would be the most FO-link-friendly. If you have a multibit link (x4 is common) you can send data and clock with lanes to sp

## Conversion of Microcontroller code

Hi, I have a microcontroller project which is working very well but the code for the project is written in assembly language. I have the full assembly code but I want to convert it to c language. The microcontroller in use is AT89S52. If anyone can help in the conversion please let me know.

Hi everyone.........I am programming the ATmega328 ADC and want to know tha ho to set and clear the ADSC(ADC Start conversion bit) to start the conversion..........Plz give me an assembly example.....Thanks...

## MPX4115 Pressure sensor based on PIC16F877a

I don't know the language you are using but give me the formula for different conversion I can help you in another programming language c,Mikroc or assembly.

## 2 bytes arithmetic techniques of PIC16

hi i need following topics for PIC16 in assembly language. 1. 16 bit (2 bytes) Addition, Subtraction, multiplication, division 2. conversion of numbers from hex to BCD. 3. equivalent function of DAW (in pic 18) thanks in advance

## Pic16c simulation error

I would recommend posting your assembly source code? Concerning the conversion of assembly to C language, I've not come across a decompiler for the the PIC family. BigDog

## .c to .asm conversion

the code is already on atmel's website in assembly. The code is meant for an AT90S1200 which is obsolete. The 90S1200 has no ram, therefore some changes need to be made to the code to work correctly in the atmega8. I successfully used this code with an AT90S8515 (which has sram). So you will need to change the include file to the atmega8 as well a

## conversion of assembly code in to c language

assembly code to C code conversion is possible( I have never tried)...Please see this link....You may understand.. Example 17: Convert assembly

## 6 digit decimal to hexadecimal conversion in assembly

Hi friends I want to convert a 6 digit decimal no into binary or hex format in assembly language. Please tell me how it could be done I did for 5 digit conversion now i want for 6digit pl help me Thank you

## Binary to BCD with Assembly

hi friends, I want to convert binary to BCD with assembly language. my processor is AVR-Atmega 32. Thanks.:???:

## how to convert 8bit to decimal in assembly language that can be used in pic16f877

can anyone help me..newbie in analog to digital conversion using pic16f877:lol:

## Help on emu 8086 programming

Could anyone provide idea on how to write a unit converter (inch to cm, kg to pound, ...) using emu8086 assembly language. The unit conversion could be in integer form or floating point form as well (doesn't matter). Could anyone provide help on this? Thanks for replying and helping.

## Need Assembly to Hex converter for AVR ATmega series

The "assembly to Hex converter" conversion tool is named assembler, I guess, you should have heard the term before. For ATmega families, this tool is provided by Atmel for free. Check their website.

I'm almost as new in programming pic microcontrollers in assembly language. What i tried to do in program, is to compare two results of AD conversion, by subtracting previous, from the current result of conversion. If the previous result is greater then the current, diode should be turned off and the program stops, otherwise it's turned on. (...)

## hex to decimal conversion in ?c

Ideally this is how I would break down the problem, First make a assembly routine that correctly displays a digit given the appropriate number - such as 5 produces a '5' on the LCD Convert the integer number to a hexadecimal value using assembly - search the net, there are several examples. By using integer division extract the digits in t

## PIC16f877 I2C - help with coding needed

hi i have 3 pic877. i want to set one pic as master with SSD display.and want to display the slave pic's ad result in SSD. i can write a code for AD conversion, Display but stuck in the I2C. i'm not familiar with C coding. but i can use the assembly very well. can any one help me ?

## how to perform hex to decimal conversion?

use this assembly code: bcd_display: mov a,data ;convert to decimal mov b,#10 div ab mov r0,b mov b,#10 div ab mov r1,b mov r2,a ret

## C to Assembly Conversion

> can some body convert following codes in to assembly. Of course. A C-compiler could. Apperently, this is intended for 8051 and is a Keil-specific snippet. You can use other '51 compiler such as SDCC, but you'd need to make a few modifications (e.g. the port pins definitions are slightly different - read the manual). JW