2,879 Topics

Member Avatar for
Member Avatar for SHWOO

I am trying to print a two-dimensional array to the screen. My algorithm probably isn't correct but I am having trouble even getting the process to work. on the call I get ----error A2206: missing operator in expression This line add ebx,tmpRowSize * rowIndex I get ------error A2026: constant expected …

Member Avatar for SHWOO
0
162
Member Avatar for kunalcrazycoder

:sad: Will AnyOne Please give me some basics of Assembly Language And its compiler as well as ide:(

Member Avatar for SamY
0
117
Member Avatar for RichardBerry

Hi I am wanting to make a board with about 80 LED's for my son's room. The LEDs must brighten and dim. I am aiming to make it look like the stars at night with the LEDs mounted on a black perspex plate, while also acting as a sort on …

Member Avatar for Colin Mac
0
143
Member Avatar for faisaly

What are the applications of Assembly Language where any high level language becomes insufficient

Member Avatar for Salem
0
214
Member Avatar for Epic Tissue

Ok, so this might seem stupid.. but I am just trying to get my head around it. I have 32bit registers (longword size). Unsigned values are values from 0 to 255. Adding two unsigned 128 bit values... So do I need to use 4 registers per value and add the …

Member Avatar for Salem
0
103
Member Avatar for fmartins

I'm trying to call the function fgets to read from standard input. How do I get the FILE* stdin in assembly? I'm using nasm on cygwin. Thanks in advance.

Member Avatar for Salem
0
2K
Member Avatar for SHWOO

Why isn't the mReadkey macro outputting the string "Please enter...." ? [CODE] TITLE MASM Template (main.asm) ; Program: Chapter 10 Problem 1-5 ; Author: Jon Wayman ; Created Date: July 17th,2008 ; Revision date: INCLUDE Irvine32.inc INCLUDE Macros.inc ;------------------------------- mReadkey MACRO ; ; This macro asks user to press any …

0
68
Member Avatar for XsavioR

Im 26 , i am teaching my self ASM. Im making a custom midi interface. Im using pic16f628a because i have 3 of em and a chip programmer here. I understand a bunch compared to when i first began. But though i can reverse ultra simple lines of code im …

0
57
Member Avatar for boodoc

Does anyone know of a typing program where you can load your own materials to use for practice, i.e., an old novel you enjoy or a passages from a favorite author? I know someone in this group could design such a program but I would expect there is already something …

0
47
Member Avatar for Nick1979

Hey guys, I am new to assembly language, so to those of you that are good at it, how do I write a beep(ex.doorbell) in assembly? Any type of beep, just so I have an idea of how it's done. Now to those of you who will answer this, thanks …

Member Avatar for smellyfis
0
145
Member Avatar for SHWOO

I am stuck on problem 7 that is outlined clearly. I am trying to create a process that changes all of the non-prime number elements of a 65,000 element array to 1. Then I would like to verify that array was marked correctly so that only prime numbers have 0's …

Member Avatar for Salem
0
947
Member Avatar for it2051229

Hello. I'm kinda new to assembly and i've been using the general purpose registers as my variables although it's not enough cause the're only like 4 of them.. I need you to teach me how to declare a simple variable and how to access and use them. A simple example …

Member Avatar for it2051229
0
136
Member Avatar for monicas

Hi, I am doing final year project on embedded system, which is silrtos port on 8051 micro-controller. I would like to know anyone ever tried silrtos on 8051 micro-controller? Can someone help me in porting silrtos on 8051. I will be highly thankful. Cheers, Monica S

Member Avatar for Colin Mac
0
111
Member Avatar for rovers9live

I am looking for assembler language in lc3 to sort an array string in ascending and descending order off of a string. can anyone help me?

Member Avatar for Duoas
0
1K
Member Avatar for Epic Tissue

This is for the 68k series. This was a question in an exam I have already done. (Didn't do well). I'd just like to know if I answered this right at all! State the value of the register and the value of the flags in the CCR after each instruction. …

0
61
Member Avatar for Freaky_Chris

Hey, does anybody know any good tutorials for MPASM for the 16F PIC micro controllers? Thanks for any help. Chris

0
57
Member Avatar for Rand al'Thor

Hello. I recently began learning Assembly language using free tutorials I get off the Internet, and am planning to write my own tutorial soon. But as I'm a newbie at this, I'd like to get some facts stragiht first: 1. What does "DOSSEG" stand for? 2. I see lots of …

0
137
Member Avatar for tones1986

Hey guys... this is my first time working with assembler, so please be patient with me! I am currently taking a course in assembler and have had a couple of basic assignments so far (mainly number systems, adding subtracting, two's complements etc etc). This is my first major (you may …

Member Avatar for tones1986
0
192
Member Avatar for allena
Member Avatar for marcosjp
-1
174
Member Avatar for aksikan

Hi: This is the question with my answer. Can you please check and tell me if my answer is correct or if it needs any sort of improvement? 1. Given the data below, design IA-32 instructions to add the two numbers in x and y using ascii operations and save …

0
67
Member Avatar for bugger

hi all, i've searched everywhere on the net but i couldn't find. anyone can help me for this? I have an exam on monday. q1 : with pic16F877 and assembly codes, maze solving robot's program and circuit q2 : with pic16F877 and microcontroller, bicycle's speed program and circuit thank you …

Member Avatar for Colin Mac
0
77
Member Avatar for Phoenix10010

Hello, I'm working on a C++ application that executes binary files, so I'm using NASM to create them. Example: [CODE] org 0 ; I don't know this value yet start: jmp start [/CODE] Since I will execute that code later, I don't know the start address (ORG) at this time. …

Member Avatar for sDJh
0
138
Member Avatar for citizenjawahar

Hi, I have been trying to write a simple Hello World boot loader using assembly language. I tried my first program to print a character 'A' on the screen by writing to the VDU memory. The code is as shouwn below : entry start start: mov ax,#0xb800 mov es,ax seg …

Member Avatar for sDJh
0
172
Member Avatar for SGoel

hi, I have a very weird question and since i cant find the answer to it even after surfing ALOT, i HAD to ask for your help... i have created an OS of my own... everything is complete... the bootstrap loader is done, the kernel (16-bit, monolithic and segmented - …

Member Avatar for SGoel
0
134
Member Avatar for meba

[B]Hello Everybody, I need a source code how to multiply 1 integer number to 1 float number? INT * Float as 2*22.5=45[/B]

Member Avatar for Duoas
0
46
Member Avatar for seesy123

hey,all of you.do you know how to make self-learning remote control car.For example if i control the car using remote control and let it move to 1 track or 1 around.when i press a switch ,it will follow back the previous track that i control without controlling by user.The problem …

Member Avatar for seesy123
0
221
Member Avatar for oneohthree

I am trying to construct a 2 way paging with PIC Basic and two types of microcontrollers PIC16LF84A and PIC16F88. I have two parts of my system, a sensor node and a transponder. The sensor node has a 434 MHz transmitter (TLP-434) and a 315 MHz (TLP-315) receiver(RLP-315). The transponder …

Member Avatar for e.demente
0
173
Member Avatar for Hiroshe

Hey I'm learning assembly (low level only for now) on my linuxbox. Could someone convert the following c++ to asm(low level) so i can learn how to do math operations? #include <iostream> using namespace std; int main() { int a = 10; int b = 12; cout<<a+b<<endl; } Of course …

Member Avatar for Salem
0
108
Member Avatar for aksikan

1. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS TO CONVERT THE BINARY STRING IN X TO AN UNSIGNED INTEGER AND SAVE IT IN Y. X BYTE "10110011" Y DWORD ? 2. GIVEN THE DATA BELOW, DESIGN IA-32 INSTRUCTIONS TO COUNT THE NUMBER OF 1'S IN X AND SAVE IT IN …

Member Avatar for Ancient Dragon
0
152
Member Avatar for zeropulse

Hi guys..i've been cracking my head for the past few days, i can't seem to print out the result of my multiplication..I'm using MASM615..Can anyone give me some pointers ? [CODE].MODEL MEDIUM .STACK .DATA ;================================== ONE DW 04DEH ; First signed number A = (-79H) = FF87H (2'Compliment form) TWO …

Member Avatar for stefannn
0
220

The End.