2,889 Topics

Member Avatar for
Member Avatar for badbloodyeyez

hi, I would like to know how to program a PIC16F877 microcontroller. I am using this microcontroller with a LCD so I would like to send data to the LCD. I have connected my microcontroller to a Bluetooth module which is connected to my PC via Bluetooth dongle so I …

Member Avatar for dex391
0
266
Member Avatar for BluMan

Hi! Could you tell me what did I do wrong in the code bellow? I try to read one line from a file, but it shows on the screen only unknown characters(different from the characters I have in the file). [Code] GetLine Proc Hand:HANDLE, pBuf:DWord Local Len:DWord Local rLen:DWord Local …

0
132
Member Avatar for jakethecake

Hi I want to write an x86 assembler function that multiplicates two 64 bit integers on a 32 bit processor. It has the following C signature: [B]void llmultiply(unsigned long long int l1, unsigned long long int l2, unsigned char *result);[/B] The result of l1 * l2 are to be but …

Member Avatar for jakethecake
0
2K
Member Avatar for Rashid 218

I want to write assembly code that compare two integer array of 10 elements. Compare the Array 2 element one by one with array1. need help

Member Avatar for Salem
0
44
Member Avatar for jaaaelpumuki

i everyone, I'm trying to send data to arduino(serial) from assembler (8086 -windows). I can read data but write doesn't work. I always receive 80H in AX, this is the code: [code]send proc MOV AH,00 ; init port MOV AL,11101011b ; 9600, N,1 bit stop, 8 bit data MOV DX,00 …

0
95
Member Avatar for sgk26p10p07

Anyone to help with protected mode programming,like help me create a a data descriptor pointing to 0b800h when i try to write to RAM it rebbots

Member Avatar for Rider99
0
272
Member Avatar for newbiec

Hello! I'm working on a project for class (Assembly Intel 8086) and am having trouble figuring out my problem with this program. The project is to set-up to find GCD of two numbers. However, I can't figure out why the division loop I have isn't working properly. I have the …

Member Avatar for Juniahh
0
4K
Member Avatar for assembler

Hi, Can anyone please help me in making a program that runs like a boot loader in assembly language. Here is what I am trying to do- I have three program files 1.asm 2.asm 3.asm I want to start the bootloader program such that when it starts up,it gives me …

Member Avatar for peter_budo
0
288
Member Avatar for sereenaa

please i need some thing important for you?? i need program assembly to the pic 80c515 at frequevcy 12 MH to do clock digital (7-segment) we learn all instruction like direct and in direct incremant decremant comper timer

Member Avatar for sereenaa
0
74
Member Avatar for Kombat

Modify the simulator so that it includes the jump instruction. Test your work with the following program. The first instruction jumps to the instruction at address 2, so on the second cycle your simulator should print an ALU output of 15, not 14. [CODE] 0 0 0 0 1 0 …

Member Avatar for Kombat
-1
88
Member Avatar for sereenaa

hello every one i need program assembly to the pic 80c515 at frequevcy 12 MH to do clock digital (7-segment) please helpe me

-1
51
Member Avatar for Rameses

I'm trying to create a calculator in MARIE Assembly Language. After some brain storming, I have addition, subtraction, and multiplication codes. I'm completely new to this language and would like to get some help on how to get started. Any help will be appreciated. Thanks ORG 100 /Start Input Store …

Member Avatar for faisal977
0
5K
Member Avatar for IZIShadowIZI

I believe I have the correct implementation down but I think I have some sort of problem with my return? When I input 4 the program will execute and eventually reach 24 however it then continues on and I am not sure what the problem is? Any help would be …

0
30
Member Avatar for blackroserugby

so i am suppose to write the towers of hanoi in MASM and have the directions needed to solve the tower for an inputed number of disks. this is what i have so far [CODE]solveHanoi PROTO, numDisks:DWORD, post1: DWORD, post2: DWORD, post3: DWORD INCLUDE Irvine32.inc .data messagePrompt BYTE "Number of …

0
61
Member Avatar for maf5693

alright I am trying to develop an operating system with assembly. I have written the boot loader and the beginnings of a kernel-however I am having a problem printing characters to the screen. Here is my bootloader [CODE] use16 ; We need 16-bit intructions for Real mode ORG 0x7C00 ; …

Member Avatar for maf5693
0
327
Member Avatar for pijo22

Hi guys.....I need the guide and also the source code on how to built the digital clock with stop-watch.....for the 68000 microprocessor using assembly language.Please help me.....!!!!

Member Avatar for sereenaa
-1
131
Member Avatar for kalodakilla

I'm actually trying to write a simple program which takes in a string and send it to printer to print. But i'm having a problem with testing it, because the signal assembly language sending is to a parallel port, but there are only usb port printers available. Does anybody know …

0
130
Member Avatar for ggingerf

hi all i'm trying to solve an exercise; there's an unaligned word, shifted 1/4 word right. it's address (where it should be if was stored correctly) is at register $s0. i'm interested in storing the word at register $t1 using aligned commands only. i tried; [CODE]lw $ta, $s0 sll $t1, …

Member Avatar for Salem
0
90
Member Avatar for Bajoras

Hello, i am new in assembly. I need program what do for example: i write "hello" and program write "olleh". Thanks verey much how can help me sorry for my English

Member Avatar for theifyppl
0
179
Member Avatar for jonnyboy12

Hello all. This is a quick question. I have learned quite a bit of assembly so far. One thing confused me though. Why would one push a register with nothing in it . for example push eax I have see this happen in code even when nothing has been moved …

Member Avatar for theifyppl
0
125
Member Avatar for sandorlev

Hello, I'm writing a compiler in C++ which generates x86 assembly code. I'm using masm32 to test generated code. I don't really know assembly, I have to look up a lot of things while writing code. My problem is that when I generate the code for a division, like 4/2 …

Member Avatar for theifyppl
0
812
Member Avatar for theifyppl

Hey everyone. I'm using GAS assembler (AT&T syntax) under linux, and I'm trying to make a function that converts a string of numbers to an integer. I thought I had everything nailed down, but when I created a simple test program to test out the function, it caused a segmentation …

0
55
Member Avatar for ahmad j

hello i have a problem in assembly how i can disply and refresh time on VGA buffer, on 0b800h

0
20
Member Avatar for larvee

How to create an assembly program that will allow the user to enter somer characters and group the characters according to the following: alphabets, numbers, and special characters. ASAP. thanks.

Member Avatar for thines01
-1
3K
Member Avatar for hqt

sorry to post this stupid question here. I'm just learning Assembler and a problem from my book is: input: a string from a user. output:character in that string. for example: input: DANI so output is: D A N I I just can received a string from user. thanks. :)

Member Avatar for thines01
0
83
Member Avatar for slicer

Hi I am trying to compute the modulus of two numbers in assembly code. As I am more fluent in C++ it is hard for me to understand the concept of modulus as all I use is the symbol % to compute. The problem I am doing is computing the …

Member Avatar for slicer
0
12K
Member Avatar for AndiNo

Hello everyone! For the last week I've been trying to convert an EXE file into a DLL. I read about 1000 Google pages on the way and now know much more than in the beginning :) I have nearly succeeded in getting the "DLL" to run but there is one …

Member Avatar for AndiNo
0
254
Member Avatar for ameypes

Please let me know how to install nasm in ubuntu? And later how to write a assembly code in it and compile and run it. Please help. I tried using ./configure to install it, but it didn't work.

Member Avatar for Salem
-1
223
Member Avatar for crazydog115

First, I'd like to say that this IS a school project. I'm not going to try to hide that. Anyway, I was provided with this c++ code: [CODE] #include <iostream> using namespace std; //----Prototypes------------------------------------------------------ void CmpTest( char *buffer1, char *buffer2, int size ); int MemCmp( char* mem1, char* mem2, int …

Member Avatar for Salem
0
289
Member Avatar for akssps011

I am writing a code for adding a series of 8 bit numbers. But it is displaying absurd characters in output. What may be the error ? [CODE] ASSUME cs:code, ds:data data segment LIST db 23H, 46H ,02H,12H COUNT EQU 04d ;RESULT DB 01h DUP(?) data ENDS code segment start: …

Member Avatar for NotNull
0
87
Member Avatar for akssps011

Why in a code fragment like the following we need to append a zero before a-f ? Is there any reason behind this or is this a convention for signed numbers ? [code] list dw 0a876h,4567h,0b234h [/code]

Member Avatar for Salem
0
60
Member Avatar for kacete

I'm trying to program a simple traffic light control using a 8051 micro-controller and assembly language. I use the Multisim application for simulation purposes. I'm having a problem with the timers. I want the red and green lights to be on for 10 seconds and the yellow ones for 2 …

Member Avatar for kacete
0
3K
Member Avatar for tr6699

I have discovered a bug in some assembly code I have been working with but can't figure how to fix it. When shifting left by 0 the result ends up being 0 instead of jut the number. The same applies when shifting to the right. Any and all help is …

Member Avatar for tr6699
0
103
Member Avatar for mannoosh2000

Hello, I have got an assignment to modify an existing ISR. Can someone guide me how to do so? It is to write an assembly program that exploid an existing ISR and modify it. Thanx

Member Avatar for mannoosh2000
0
104
Member Avatar for xerreck

Hello everyone I am working on a secruity program Demo. The program should allow the user to enter a message, one character at a time. The program should then display the corresponding digit or punctuation according to the ASCII character set. For example, if the user enters the letter a, …

Member Avatar for xerreck
0
157
Member Avatar for Dejvis

Hello need help. Maybe you can make the in assembler that the temperature in ° C to convert ° F temperature units. This translation is carried out according to the formula (° C × 9 / 5) + 32 = ° F. I need all program code. Thank you. BR …

Member Avatar for jwenting
0
46
Member Avatar for joseph2010

Can I write IL programs run directly? exam for the IL program what is business process model in UML?

Member Avatar for kvprajapati
0
53
Member Avatar for Juniahh

So I'm trying to write a program that will display a grade depending on the user's input i.e. 90-100 (A) 80-89 (B) 70-79 (C) 60-69 (D) 59 below (F) this is what I have so far but I don't know what I'm doing wrong. :\ It assembles and it'll let …

Member Avatar for Juniahh
0
119
Member Avatar for TSaunders84

i have this code i have to translate it to machine code assembly language and this is really confusing i have to right [CODE] x = 8 y = 12 if(x > y) x = y - x else x = x - y and int x = -5 int …

Member Avatar for SamY
0
137
Member Avatar for ahcfan

Hi, i'm currently learning assembly with the nasm assembler and i'm stuck trying to get a memory address into a register. Here is what I have: [code][bits 32] [org 100h] section .data msg db "Hello", 0 section .text mov si, [msg] ;lea si, [msg] ret[/code] I read the nasm manual …

Member Avatar for lee.j.baxter
0
103
Member Avatar for ncwolfe

Here's the program I wrote not using a procedure: [CODE] .data target BYTE "aabccdeef", 0 freqTable BYTE 256 DUP(0) space BYTE " ", 0 .code main PROC mov edi, OFFSET target mov esi, OFFSET freqTable mov ecx, LENGTHOF target mov eax, 0 L1: mov al, [edi] movzx eax, al mov …

Member Avatar for ncwolfe
0
440
Member Avatar for jonnyboy12

Hello i have some brief questions about loading functions from a dll. Im having problems understanding the difference between a function adress and a function hash. For example i know that when i open up kernel32.dll in a dll export viewer. The function address of loadlibrarya is ox7dd774bc6 and then …

0
50
Member Avatar for andrew732

I'm not sure exactly what I'm looking for or whether it exists, but I was hoping to get any ideas from the assembly experts here. I do know basic x86 and ARM assembly from classes but have not used them much in "real life." Ideally, what I would like is …

Member Avatar for andrew732
0
437
Member Avatar for riccardo-m

Hi, I'm trying to use the 8-bit result from an ADC to make a time delay. It is working except that time delay is only increasing after the input goes above 2.5V. The input is 0V to 5V from a 1k POT. Any ideas why it would not start working …

0
54
Member Avatar for Nicholas_Roge

[ ] I've got a working bootloader. Now I need to learn how to pass control from that bootloader to... Well, I'm really not sure how to do that. [ ] Once I have passed control out of the bootloader. How do I access the graphics driver? [ ] How …

Member Avatar for NotNull
0
158
Member Avatar for mjacqu3

I am taking a class on assembly language for intel based computers and for our final project we need to develop a simple game in assembly. For my project I need to make the console window bigger. I looked in the textbook and i cant find anything about resizing the …

Member Avatar for NotNull
0
89
Member Avatar for riccardo-m

Hi, I have a circuit that charges a capacitor and discharges it. The length of the discharge pulse is supposed to be determined by the ADC value from a POT. The pot is wired as a voltage divider and I have tested that the voltage to the pic pin varies …

Member Avatar for riccardo-m
0
124
Member Avatar for simona_ragazza

Hi guys, I'm new here I just started learning assembly and tomorrow I have an exam and I have a problem with a task. I can't find code for division and I module, so I have this task, if you can pls write me the code: Write a code for …

Member Avatar for Salem
0
99
Member Avatar for Mme

I'm working with a HCS12 Motorola chip trying to make a MIDI player. Got stuck on the function of play/pause/forward/back. These are controlled by external switches set to high and low. Below is my attempted switch settings: [CODE]switches LDD $0000 CPD #$0001;"pause" button BNE AFTER_1 PAUSED LDD $0000 CPD #$0002; …

Member Avatar for Salem
0
147
Member Avatar for Dwarrel

Hi, i'm trying to learn some assembly, ive got a assignment from school to control a lcd screen. I've got some sample code that i mostly understand but i can't figure out what the SBI command does. Using atmega32, with avr studio 4 [CODE]sbi PortD, LCD_E[/CODE] At this point PortD …

Member Avatar for Dwarrel
0
3K

The End.