2,889 Topics

Member Avatar for
Member Avatar for mvp0014

write a program that will sort 10 inputted words or either ascending or descending order which selected by means of clicking the options............ NEED HELP PLEASE REPLY... ASAP....

-1
42
Member Avatar for OzY360

hi, i was wondering if there are any free programs available that will allow me to edit source code, assemble & link it, debug and run it. The source code written in assembly is specific to the 68000 family of motorolla chipsets. i just think it would be useful for …

Member Avatar for OzY360
0
160
Member Avatar for clshah2

I have written the following code for reading and outputting characters and strings and then converting the strings to lowercase and sorting the characters with bubble sort! When I run the code, the code loops infinitely without doing anything except reading and outputting the strings and characters. Can someone help …

0
50
Member Avatar for Ineedhelpplz

Now i'm not asking for a complete easy answer or source, so please take the time to help me. I would like a very detailed explanation telling what to do, I have no idea. I am very confused by stacks, functions, pushing, popping, and all that. I am very new …

Member Avatar for Ineedhelpplz
0
572
Member Avatar for smileyme74

hi guys: I just need help in how the srl instruction works in my program. I would like to know the interpretation. Like if I input de decimal number 8, which is 1000 in binary. I would like to know how it works. this is the code, it converts decimal …

Member Avatar for GDICommander
0
118
Member Avatar for luca789

ok boys, I'm new, noob and ready to do any effort needed. I have to write a MIPS assemply program for My MIPS course and I need just some examples... do you know any link where I can find any .s .asm mips programs? I'm especially looking for recursive programs …

Member Avatar for ithelp
0
31
Member Avatar for ak46

My code is mistake asm->hex please help me. Thanks [code] hold macro NOP NOP NOP endm disp_str macro string irpc char, < string > IF nul 'char' exitm endif MOV A,#'char' LCALL data_in endm endm build_char macro P1,P2,P3,P4,P5,P6,P7,P8 irp arg, < P1,P2,P3,P4,P5,P6,P7,P8> MOV A,#arg ACALL data_in endm endm [/code]

0
48
Member Avatar for makubexiii

how can you input a string, clear the screen, then print Hello "string"? example: [CODE]org 100h MOV AX,03 INT 10H MOV AH,02 MOV BH,00 MOV DH,0CH MOV DL,19H INT 10H MOV DX,OFFSET MSG1 MOV AH,09 INT 21H MOV DX,OFFSET SZ MOV AH,0AH INT 21H MOV AX,03 INT 10H MOV AH,02 …

0
80
Member Avatar for .11

I cant check if this is write as I have to do it at school. But I wanted to know if you can read over for me. This is my multiplication [CODE] add $s2, $zero, $zero add $t0, $zero, $zero LOOP: beq $t0, $s0, EXIT add $s2, $s1, $s2 addi …

Member Avatar for .11
0
126
Member Avatar for Felon

This program in not working, the number that needs to be diplayed on the leds in EA. [CODE];program to count the number of odd bytes in memory from address 0xff00 to 0xffff. ;number is to be displayed on 8 leds ;set up for leds and hardware prog equ $2000 PORTB …

Member Avatar for Salem
0
96
Member Avatar for eniwe

i do not seem to be getting anywhere with my probe aimed at searchfirst, open file and overwrite and so on. Hence i have no other alternative other than start from scratch. Though my initial attempt to create an overwriting file, has failed, i did achieve substantial understanding of several …

0
70
Member Avatar for OzY360

Hello. I have been assigned a programming task which is to be completed using assembly language for motorolla 68k (os9). I will attach the assignment brief to the email and a copy of the source code in a txt file. I have to adapt the code so that it does …

Member Avatar for OzY360
0
193
Member Avatar for jediahsan

im working on NASM and AFD.exe i have to multiply the contents of 2 arrays of size 10 and store them in an array named result without using the mul operation. i can only use mov add sub jnz jz in this one. ive tried hard and am close to …

Member Avatar for Salem
0
88
Member Avatar for jakethesnake86

I am trying to program a microprocessor using c/c++ with assembly subroutines. I have a working assembly subroutine, Button_Push, that returns a 1 if a button has been pushed. I have tested this subroutine in an assembly language program. I am really having trouble using the subroutine in C though. …

0
89
Member Avatar for nicck0

I've been trying on putting up large decimals on the register and when i typed: mov bx, 100000d on assembling the program it says: ...Error: Value out of range something like that.. what should i do.. can you pls help me.. thanks.. btw im using tasm..

Member Avatar for nicck0
0
170
Member Avatar for VBNick

I literally picked up asm today. I have been trying to create a 3d software rendering engine in C++, and figured out doing things directly would be faster....but, I tried the following code: [code="cplusplus"] int _tmain(int argc, _TCHAR* argv[]) { int num, timestart, dur; timestart = clock(); for(int i = …

Member Avatar for VBNick
0
124
Member Avatar for Lilith24

Recently I was interested in making a stock bot as a neat project for myself. It would run on a virtual stock exchange account, not using real money of course. The biggest problem I have run into is getting data to and from websites as I have no idea how …

Member Avatar for Salem
0
112
Member Avatar for ryansullivan

So I have an assignment where I have to translate some code in C to MIPS. It is what we are calling "Rule 1," which solves Sudoku puzzles by eliminating a number from a column, row, or 3x3 box if it is present elsewhere in that same row, column, or …

Member Avatar for ryansullivan
0
922
Member Avatar for Motvel

I need to do a project. How can i develop a keyboard driver in C & ASM? which book i should to consult. Its very helpful for me if i found material on internet. Please provide appropriate URL? The keyboard is connected through USB. if u can help me i …

Member Avatar for cuocthiseo01
0
147
Member Avatar for JacquesB

Hi, I have a multithreading bug somewhere, probably not in the semaphores, but would like to make sure if out-of-order execution (OoOE) could produce some weird problem: I explain the problem in 3 steps: Step 1: mov eax, dword ptr [Some_global_variable_ONE] mov ebx, dword ptr [Some_global_variable_TWO] Due to OoOE, the …

0
37
Member Avatar for kamaoako

heres the code i wrote its not working yet need a little help only know a few assembly commands so not really good with it yet. [code] .data msg1 db 'Enter a word (max 20 characters): $' msg2 db 13,10m, 'The Reverse: $' str db 22 dup(0) buffer db 22,23 …

0
49
Member Avatar for assembly_membly

Hi, I need to confirm somthing. Let say this is my program: STR1 DB 'we are learned assembler' STR2 DB 0,1,0,0,0,0,1,0,1,0,1,0 mov DI,offset STR1 mov SI,offset STR2 XCHG DI,SI What is SI now? Is it? 'we are learned assembler' Or just the char 'w'?? Does it swap only the values??? …

0
37
Member Avatar for Arfarf

Hi, I've been trying to get my head around x86 assembly lately, and I've been working on this one problem. I'm trying to write a program that reads characters from a text file, then display them on the console. It's a simple exercise in file operations, but I'm having a …

Member Avatar for skinman
0
297
Member Avatar for yuriythebest
Member Avatar for Salem
0
117
Member Avatar for int_80

I'm trying to compile an example nasm program I downloaded for windows. But I can't get it to compile. [CODE]C:\nasm-2.06rc1\nasmw -f win32 example.asm C:\lcc\bin\lcclnk -s -subsystem windows example.obj[/CODE] When I compile it with that, the first part of it goes fine, it's when I use lcclnk to link it I …

Member Avatar for int_80
0
580
Member Avatar for userqt

That's the program I'm trying to wrote: .model small .stack 100h .data x dw 2 array db 100 dup(?) even db 0 unread db 0 len=($-array) .code mov ax,@data mov ds,ax mov CX,len mov SI,0 m1: mov ah,08h ;inputs a digit into al int 21h cmp al,27 ;is it esc? …

0
60
Member Avatar for crashandburn

I have problem with compiling my programs in Linux(Slackware) with NASM nasm -o hello hello.S i dont know does i doing something wrong or does context of writing a assembly code are different for different processors and processors words??? here are my code : the result of code are Segmetation …

Member Avatar for jt_murphree
0
81
Member Avatar for dr5

I'd like to know somethig about mips: i need to create a program which makes anagrams of a string that is inserted by users

0
53
Member Avatar for Joonas

001 BITS 16 002 segment myStack stack 003 resb 0100h 004 005 segment myData data 006 somedata db 10101100b 007 008 segment myCode code 009 00A dothingstobx: 00B push ax 00C mov ax, 56h 00D add word ax, bx 00E or bx, ax 00F ret 010 011 ..start: 012 mov …

Member Avatar for Joonas
0
121
Member Avatar for yuriythebest

right, I am trying to do a task where I should convert 2A45 to a pair of ascii characters, however the presence of the "A" (10) confuses me- if I convert it to decimal I get 10821 which is 5 characters not 4.

Member Avatar for jt_murphree
0
89
Member Avatar for venomxxl

Hello everyone, I started learning assembly yesterday. Yes maybe I chose a wrong guide but I have a little problem here. It's about getting some integers without a newline. That is probably very easy to solve but I was searching for a solution for a few hours and no results. …

Member Avatar for jt_murphree
0
202
Member Avatar for Jake12

Hi. I am a little new to mixing C and ASM and I was wondering how one could pass a value from one asm function to another ASM function that then pushes the same value to a C function. What I have is this: 01. ASM 01 loads ASM 2 …

Member Avatar for Salem
0
96
Member Avatar for vikasmailsu

Dear Experts, I am willing to port my window based appliaction in to Mobile based application. I am using few asm files based on x86 instruction set. I would like to use the same asm files in to Mobile based appliaction in Visual Studio 2005 environment. As far as I …

Member Avatar for Ancient Dragon
0
91
Member Avatar for zxz

Hello , im a very new to programming and i have a Question please. i must write a program in Assembly the Question is : "after giving a maximum of 30 positive numbers the program must output if the given number (Sequence) is a palindrome or not.( intering "0" or …

Member Avatar for afas87
0
117
Member Avatar for legendarya49

Does anyone know any good books for introduction to assembly? I have a class with it next semester and would like to get a head start.

Member Avatar for Singh001
0
145
Member Avatar for pocnib

I am taking a class in Assembly this semester and am currently at a loss. The first two projects I found easy enough but now we are working with strings. I have a basic skeleton for the program that gets input. [CODE] .data strbuf: .space 80 # Buffer for string …

Member Avatar for Salem
0
136
Member Avatar for sureronald

I am taking a course in assembly language programming this semester. I am linux based. Please assist me in where to start. Thanks rony

Member Avatar for DangerDev
0
72
Member Avatar for athtsa

Sorry for my English firstly! I have the below project to do in assembly language!I don't know Assembly and i would like if anyone has the time to help me! It's a project from my school and it must be done! I would appreciate any helpful information! I look forward …

Member Avatar for Salem
0
118
Member Avatar for urstez

hello everyone.. im new to this forum.. hey guys..can anyone tell me where do i get good tutorials for IA64 assembly.. thanku

Member Avatar for Evenbit
0
196
Member Avatar for guimenez

Hello can anyone tell me how can i make a hexadecimal calculator that receive from 1 to 8 double words, then enter the first operand, then the second operand, then choose the operator and then give me the result. example: enter from 1 to 8 double words to execute (example …

0
34
Member Avatar for eniwe

i am trying to learn assembly using TASM . How do i make the below program terminate . i.e jump to final: after entering wrong key say 3 times ?? [CODE].model small .data msg1 db "- - - Enter y - - -",0dh,0ah,'$' msg2 db 0dh,0ah, "..Correct...Good luck ..",0dh,0ah,'$' msg3 …

Member Avatar for eniwe
0
115
Member Avatar for SuperDa7o0o0m

Hi everybody! This is my code . I don't know what's wrong . The output should be 4CA9 . [code] .MODEL SMALL .STACK 100H .DATA .CODE MAIN PROC ;initialize DS MOV AX,@DATA MOV DS,AX MOV CL,4 MOV BX,4CA9H MOV CX,4 TOP: MOV DL,BH SHR DL,CL CMP DL,10 JGE ELSE_ OR …

Member Avatar for thomasubcox
0
74
Member Avatar for chantak

Hi all, Well, I dont know if it is the best place to talk about this... but... I am developing one program that process texts, with a plugin system, and I need to make some type of anti-crash system in the plugin system... Well, this anti-crash system for what I …

0
49
Member Avatar for swappy

Hello guys... First of all I don't know if I starting this thread in a correct Section..If I`m wrong then sorry mods... Well I`m developing something from which you`ll be able to control any electrical item(Make it ON/OFF) from anywhere. I just wanted to know who will any company benefit …

Member Avatar for Salem
0
139
Member Avatar for digantha
Member Avatar for sivak

can anyone tell me how to create a assembly ..and how do use it in our application..i am new for .net so only ...how do find out the error in dll?

Member Avatar for BlackSun
0
90
Member Avatar for Lilith24

So assembly language interrupts are signals to the OS asking it to perform an action based on what is in the register. I was thinking, what would happen if there is no OS on the device you are programming. If you can't use interrupts from the OS would you have …

Member Avatar for iyercb
0
125
Member Avatar for yuriythebest

right I'm trying to clear some things from this example code: [QUOTE] DOSSEG .MODEL SMALL .STACK 200h .DATA OurString DB "This is a string of characters. " DB "Do you lack imagination? Put something interesting here!$" .CODE START: MOV AX, SEG OurString ; Move the segment where OurString is located …

Member Avatar for iyercb
0
150
Member Avatar for badbloodyeyez

Hi all, I would liek to know if its possible to read a text file in assembly I am currently using 8051 microcontroller and sending the text file from the PC to the microcontroller via the USB. Is there any way to read the content of the text file or …

Member Avatar for Colin Mac
0
87
Member Avatar for moh3en

I want get 2 variable for string 500 ( 250 for a varible and 250 for other variable) [code].model small .data maxlen db 255 actlen db ? str1 db 255 dup(?) str2 db 255 dup(?) msg1 db "Enter String 0 to 255$" msg2 db "Enter String 255 to 500$" .code …

0
41

The End.