2,889 Topics

Member Avatar for
Member Avatar for DarkDot

Okay I am trying to create a program that takes in 10 integers, then prints out the Max integer and the Min integer. The first loop reads in the 10 integers and the second one is supposed to print out the Max and Min integers. The problem I'm having is …

Member Avatar for DarkDot
0
166
Member Avatar for CzechRock3
Member Avatar for Narue
0
60
Member Avatar for sara_84

Hi all, i need an assembly 8086 code that compare between numbers from 1 to 99 and write output messege contain > or < or = can any body help me

Member Avatar for anomalice
0
137
Member Avatar for 3xy

.model small .stack 64 .data error_alpha db "Invalid input. Expression contains letter/s. ",13,10,"$" error_range db "Invalid input. Operand/s may be out of range. ",13,10,"$" error_overflow db "An overflow has occurred. ",13,10,"$" error_invalidinput db "Invalid Input. ",13,10, "$" redo db "Please enter a valid one.",13,10,"$" newline db 13,10,"$" inputlen dw 2 …

Member Avatar for anomalice
0
261
Member Avatar for torbecire

I am supposed to draw a box with coordinates UpperLeft(5,70) UpperRight(5,10), LowerRight(20,10) LowerLeft(20,70). I can't figure out what I am doing wrong. HERE IS ME CODE. [ICODE]TITLE BOX INCLUDE Irvine32.inc .code main PROC COORDS BYTE 5,10,20,70 UL BYTE 0DAh UR BYTE 0BFh LL BYTE 0C0h LR BYTE 0Dh VERT BYTE …

0
67
Member Avatar for TheClue

hello to all! :) i've a trouble in completing the very very very last code for my thesis in computer science. I'm playing with interrupt hooking in 16 bit DOS mode, but my code acts strange: ------------------------- ORG 0x100 ; old int21h mov ax, 0x3521 int 0x21 ; save it …

0
61
Member Avatar for dokumen

i'm newbie here.. i'm not a programmer.. i'm really interesting with this kind of application.. it's a chat application.. it is made with asm.. it has 4 button: Join chatroom, Leave Chatroom, Kick and Send Text.. can any1 help me to modify this application so there are new feature like …

Member Avatar for jephthah
0
156
Member Avatar for matt999tye

I am trying to write a program using direct addressing and pointers on the number and create a 32 bit variable from 10136654 All operations will be done in 16 bit registers like ax, bx, etc. But how is this possible if it must go in 16 bit from 32 …

Member Avatar for matt999tye
0
118
Member Avatar for DarkDot

Hey I'm using MIPS and created a Fibonacci program and am not sure that its working correctly. When I enter 1 it returns 1 like it should and when I enter 0 it returns 0 like it should. However when I enter a number that takes it into the Fibonacci …

Member Avatar for deco05ie
0
684
Member Avatar for deco05ie

Im making a simple sort program in tasm but im not very good, Iv got it to work with numbers (as seen below) but i have no idea how to get it to sort a list of strings in assembly any help would be nice [CODE]title sort .model small .stack …

0
62
Member Avatar for dupontmika

will pay 40 usd paypal to someone who can do these simple programs, up front. pm me

Member Avatar for Narue
0
35
Member Avatar for Dark Pallys

Hey there everyone.. I'm pretty new in this forum and also with Assembly, to be honest I haven't programmed anything in Assembly. I'm a VB Programmer and I work with some C/C++ But well that's not the reason I'm here hehe. On the forum I work at one of our …

Member Avatar for Dark Pallys
0
103
Member Avatar for sgk26p10p07

Now i have been able to create the gdt's and when i change to pmode, will a short JMP flush the instruciton prefetch queue? here is a sample of my code and the gdt and gdtr content, [code] mov ax,07c00h mov ds,ax lgdt [ds:descr] ;switch to pmode by setting bit …

Member Avatar for koyi
0
173
Member Avatar for koyi

Hi, I am pretty new with assembly so please bear with me if this question sounds stupid :) I am teaching myself OS development from resources of the web. I came across this tutorial [URL="http://osdever.net/bkerndev/Docs/gdt.htm"]here[/URL] which talks about setting up GDT. I don't really get it when it is to …

0
281
Member Avatar for gbouchard

Hey everyone, I'm new to ASM (only have some basics in coding), and I'd like to know if anyone could help me here. What I'm trying to do: I'd like to convert the letters (from a name entered) to ASCII, and add all their values. For example, [B]gbouchard[/B] would be …

Member Avatar for gbouchard
0
83
Member Avatar for mar00ned_soul

below is my code.. i need to make this code read 3 digit and add it.. i know i lack a loop here.. i tried to make a loop but it didn't work. So here it is the original one that i made, that is working and reads one digit. …

0
51
Member Avatar for bobrien314

I have an assignment due coming up and i am having a little bit of trouble. the purpose of the assignment is to reverse the values an array with the first value being the length of the array, I thought everything was done right but it won't reverse, actually nothing …

0
80
Member Avatar for agrawalashishku

I'll tell what I know and then I will ask questions. Please correct me where I am wrong Suppose I have two cores in my CPU or 2 processors. What i know is that it is the duty of the operating system to give me a processor to execute my …

-1
55
Member Avatar for runtime error

Len_data Equ 14 Xcoord Dw 0 Ycoord Dw 0 Ascval Dw ? Dispdata Label Byte Xmsg Db 'x = ' Xascii Dw ? Db ' ' Ymsg Db 'y = ' Yascii Dw ? .code A10main Proc Far Mov Ax,2 Mov Ds,ax Mov Es,ax Call B10initz Cmp Ax,00 Je A90 …

0
68
Member Avatar for acidpaul

Can someone help me undestand each line of code. I used emu8086 for this program.. Any help will be appreciated! Title Fibonacci series ; Fibonacci series ; ; Write a program that generates the first 15 integers ; of the Fibonacci series {1,2,3,5,8,...}. Beginning with ; the third element, each …

Member Avatar for Tight_Coder_Ex
0
338
Member Avatar for fuzzy89

I need this translated in MIPS can anyone help me out? [CODE]#include <stdio.h> int n; int row[8], s = 0; bool safe(int x, int y) { int i; for (i = 1; i <= y; i++) if (row[y - i] == x || row[y - i] == x - i …

Member Avatar for Duoas
0
195
Member Avatar for Shanomacadaemia

Hi, I'm new to assembler and I really need to make this work as it's crucial to my success in this course at college. Normally I wouldn't ask for help, but because time is such a factor now and due to my limited understanding of the language, I feel I …

Member Avatar for Shanomacadaemia
0
81
Member Avatar for kaineo

[CODE]start: initIO * Initialize (required for I/O) lineout title continue: lineout skipln lineout prompt linein buffer * Get input cvta2 buffer+6,#4 move.l #2008,D1 sub.l D0,D1 move.l D1,D0 ext.l D0 cvt2a age,#3 Stripp age,#3 lea age,A1 * adda.l D0,A5 move.b #'.',(A5) adda.l #1,A5 move.b #' ',(A5) adda.l #1,A5 move.b #'*',(A5) adda.l …

0
43
Member Avatar for angelie

hi..im a new member and i would like to ask for the code on how to convert a decimal value inputed as string,since all inputs in assembly are in string or character),to its hexadecimal equivalent..thanks..

Member Avatar for Duoas
0
108
Member Avatar for amibios

Hello from russia:) sorry for my english I'm lookin for asm programmers who has experience with bios programming in subject context. I don't know were to post this... i'm talking about money for onetime job. PM me please (also if u can recommend me someone)

0
59
Member Avatar for EngBalsam

I need an assembly program to add 12 bytes residing in locations starting from 2400H and store the sum in location 2500H (result space 2 bytes). For 8085 8 bit microprocessor. can anybody write the program????? Please that would mean alot to me thanks.................

Member Avatar for codemode
0
57
Member Avatar for tpluscomb

I've been working on a program which reads in a sequence of numbers entered by the user. It's read in as a string and then converted to numbers. Then I am suppose to get the sum of those numbers and report it back. I got most done and I know …

Member Avatar for Duoas
0
9K
Member Avatar for JohnJohnJohn

I have to have an assignment in by thursday which asks to change lowercase to uppercase but I can only get it to change from uppercase to lowercase. I have tried everything I know and nothing will work. Here's what I have: .data str: .asciiz "HeLlO" ans: .asciiz "Uppercase String …

0
46
Member Avatar for DarkDot

Basically for a class project/assignment we need to take another persons program in class and correct it for them, if they are good at assembly then your in luck if your person is bad like mine seems to be your screwed. Below is the exact code they posted, I've gone …

Member Avatar for DarkDot
0
5K
Member Avatar for apuM

hey, basically I have an assignemnet to write a C and MIPS code to determine if a number is a power of 2 or not.(that is only a beginning part to the main core of this assignment which needs this code to be used later). I'm capable of doing the …

Member Avatar for Duoas
0
208
Member Avatar for matt999tye

I am trying to understand SHR and ROR registers, the professor gave us some examples that I can't understand so I will make my own and hope I understand it better. If I had 1234h in the eax register for example, how do I know what the number would be …

Member Avatar for Duoas
0
132
Member Avatar for runtime error

i got an assignment it has to display the mouse pointer and at the same time the x and y coordinate. can anyone help me? i've found the codes for displaying the mouse pointer just got some problem with the implementing side. thanks a lot.

0
64
Member Avatar for AsmP

Hi, this is my first post i greet all the members. I would like for someone 2 please explaing the Essence of Assembly programming in 2days world where every 5 years latter a new HL programming language emerges. I have already studied 8086 assembly language and worked on it (not …

Member Avatar for jbennet
0
98
Member Avatar for arun.gerrard

can someone teach me k-maps and boolean algebra.... also give me the links to some ebooks which explain the basics of k-maps if u find any.

Member Avatar for arun.gerrard
0
561
Member Avatar for EngBalsam

I have an assignment and i need help in it i need to write a program in assembly for 8085 microprocessor and its very dificult can u please help me?????????? Here is the question Rearranging Bytes 16 bytes are residing in locations starting from 2400H. Transfer those bytes in locations …

Member Avatar for EngBalsam
0
136
Member Avatar for gerard4143

My questions is a simple/hard one, whats a stack on an intel machine? I don't a need lesson on how to use one for I already know how, its just that I really don't know very much about them. Like how come you can automatically allocate memory on them by …

Member Avatar for sanzilla
0
89
Member Avatar for joshjohansen

So I have taken on an extra credit assemly code challenge, and I am having a hard time getting started. What I need to do is be able to divide two 16 bit numbers and then display that answer. I can figure out how to divide a 16 bit number …

0
285
Member Avatar for apuM

Hi I need help with this ASAP. I'm a third year elec. engineering student who has to take a substitute module to C++ programming as they have discarded that module altogether. my college have landed me a module that severly deals with MIPS and them being the non experts feel …

Member Avatar for Duoas
0
95
Member Avatar for torbecire

I am supposed to write a program to show all possible color combinations, but I am having problems. It will give me all 256 colors, but not in all possible combinations. Here is me code. [ICODE] include irvine32.inc .data colors byte 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 .code main PROC mov ecx, 16 mov esi, …

Member Avatar for Duoas
0
187
Member Avatar for akueddy123456

Hi guys, Ive found out that the only way to have a value larger than 255(for a variable) is by increasing the value of another variable every time the first variable overflow. By the way im using pic16f84 and im currently learning how to program in assembly language. Example, "counta" …

0
49
Member Avatar for Mikhail508

I'm trying to program a PIC16F886 as a I2C slave device using the code from Microchip application note AN734. I've compiled this example source code using MPLab 7.6 and flashed my PICmicro with the image. Now I am trying to talk to the chip using the AARDVARK I2C/SPI TOTAL PHASE …

0
98
Member Avatar for torbecire

I am having a problem with nested loops. When I run the program it gives me the first 16 results want then it prints out more values than I require. I want it to print out 16 values then stop. I also do not know how to change the foreground …

0
63
Member Avatar for matt999tye

I keep getting operand size conflict errors when I run this program I cant seem to get it right! Write an assembly language program that will use multiple precision arithmetic to add the following defined word (dw) numbers in defined 16-bit registers (like ax, bx, cx and dx). (hint: use …

Member Avatar for Duoas
0
173
Member Avatar for haroonob

Hello Any Can tell me the service numbers for getting following information i have seen Ralf Brown's Interrupt List [url]http://www.ctyme.com/rbrown.htm[/url] but i did not get proper information or don't get proper information with this list Processor Information (vendor ,family name,speed etc) , Disks Attached, Floppy Size Haroon Idrees

Member Avatar for Ancient Dragon
0
73
Member Avatar for haroonob

I want to make simple C Program which show current directories and files like dir or ls .This should be use interrupt for getting current directory and its subdirectories and files.Help me to make this program. I Saw 21h interrupt with its service 47h and 4Eh . Thanks

Member Avatar for Ancient Dragon
0
178
Member Avatar for sirdeity

Hello, everyone. I'm learning assembly and can't figure out whether the INC instruction affects the C bit in the condition code register. I understand that the INC instruction increments memory or accumulator by adding one to the number in the specified register, but does that include the C bit in …

Member Avatar for Duoas
0
39
Member Avatar for anniedemas

hai everyone, im annie from malaysia.im in final year and do my final year project.here i need help from anyone to get a guide and some comment about my project.my project is LOW COST SECURITY SYSTEM USING PIC16F84A,where i focus on home security system. i have test my magnetic sensor …

0
45
Member Avatar for matt999tye

seems like every time i write a program in assembly i get these errors. all i am trying to do is multiply these two numbers, but this happens 1>z:\assembly\p2a\new folder\p2c\p2c\p2c.cpp(27) : error C2443: operand size conflict 1>z:\assembly\p2a\new folder\p2c\p2c\p2c.cpp(28) : error C2414: illegal number of operands 1>z:\assembly\p2a\new folder\p2c\p2c\p2c.cpp(29) : error C2443: …

Member Avatar for Duoas
0
111
Member Avatar for csnoob

i was asked to create my own boot disk that would just display my name in the screen. I was told that i am not allowed to use the files from microsoft and that i should create all the files. I've read some articles on the net and most of …

Member Avatar for sanzilla
0
94
Member Avatar for matt999tye

I am writing a program that performs a NOR function and i keep getting this error I cant figure it out! 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(28) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(29) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(30) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(31) : error C2443: operand size conflict 1>z:\assembly\p2a\p2b\p2b\p2b\p2b.cpp(33) …

Member Avatar for matt999tye
0
160

The End.