2,889 Topics

Member Avatar for
Member Avatar for muthumari

I am passing 2 integers from C program to 8086 assembly subroutine and i am doing division operation in the subroutine using DIV function. I dont know how to return the quotient and remainder values from the subroutine to the C Program Help me please

Member Avatar for Narue
0
157
Member Avatar for jonkey86

Hey im a new member, bad at programing but atleast i try :cheesy: This multiply subrutine is part of of a bigger program with menu option, but if you can help me with this i think i can work the rest out. im having trouble displaying the value of the …

0
72
Member Avatar for Evenbit

I am waiting for the release of HLA 1.82 before dumping any source on the CVS, however, all interested parties are invited to join the project {{ just let me know in what capacity -- developer, technician, project admin, etc. -- you wish to participate in }} to "kick around" …

Member Avatar for Narue
0
167
Member Avatar for Dabdob

This is an Assembly code and i want to know what the result for every instruction: AX and BX The code is: Mov ax, 0 Mov bx, -5 100: Inc ax++ Sub bx, ax Cmp bx, -10 Jb 100 Put ax Move ax, bx Put ax End

Member Avatar for Lord Soth
0
82
Member Avatar for newassemblyuser

Hello Everyone: I am new to assembly and am trying to learn division and multiplication . I have the code below that I wrote to perform unsigned division, I have looked it over in detail but cant figure out what I'm doing wrong. Note that for division the divisor apparently …

0
82
Member Avatar for lakshmisoni

.ORIG x3000 AND R2,R2,#0 LD R3,PTR GETC LDR R1,R3,#0 TEST ADD R4,R1,#-4 BRz OUTPUT NOT R1,R1 ADD R1,R1,R0 NOT R1,R1 BRnp GETCHAR ADD R2,R2,#1 GETCHAR ADD R3,R3,#1 LDR R1,R3,#0 BRnzp TEST OUTPUT LD R0,ASCII ADD R0,R0,R2 OUT HALT ASCII .FILL x0030 PTR .FILL x4000 .END

0
55
Member Avatar for deutsch

I didn't get any response on my last post, so I'll try one more. I can't figure out why the comparison is failing. I would like to be able to use the extended ASCII characters instead of intergers if the API allows it. Thanks. .data sec BYTE "Wie Viel",0 ; …

0
59
Member Avatar for novadon

Hey there, This is my first posting, as for once in my life I need extreme help with programming. I can work C with a little magic, just assembler is just [B]NOT [/B] my cup of tea. I was hoping that my attempts will show through, yet there are numerous …

Member Avatar for novadon
0
166
Member Avatar for TomCo

Hi, I’m doing a little project at the moment that’s centred around the optimisation of insertion sort. I removed the various stalls when possible, made various modifications and unrolled some loops. I got it down to about 14927 Cycles with a CPI of 1.007 when sorting 100 elements. Is this …

Member Avatar for TomCo
0
416
Member Avatar for deutsch

Is there someone who can help me with this ? I also put some comments with some questions as well. Thanks. [code] ; crypt3.asm This is supposed to making a registry key, but isn't. ; Compiles OK, but not working at present. ; Help from Paul Brennick, .386 .model flat, …

0
53
Member Avatar for saman

HEYZ CAN ANYONE GUIDE ME WHCIH PROJECT TO TAKE UP IN ASSEMBLY THAT IS MARKS GAININ....NEED UR HELP DEAR PEOPLE OUT DERE...LOOKIN FORWARD FOR SOME NICE IDEAS N HELP RELATED TO THOSE IDEAS....REPLY SOOONNNNNNN :lol: ;) :confused:

Member Avatar for ahluka
0
80
Member Avatar for iertz

Can you help me solve this prob? 1) Write an assembly program that accepts 3 values of input and produce the largest as output 2)Write an assembly program that accepts 3 values of input and produce output in order of size largest to smallest? 3)Write an assembly program that prints …

Member Avatar for Narue
0
81
Member Avatar for -EMAN-
Member Avatar for -EMAN-
0
199
Member Avatar for harlock59

hello, everyone. i'd like to learn asm on macintosh. my mac is an eMac g4 1,25 Ghz. if someone has links ? thanks.

0
63
Member Avatar for kennethwcn

i have written the following codes to implement the tower of hanoi but it doesn't work properly..... i have spent almost a week to find out the problem, but i still don't know what's going on... can any one can help me ??? Really Thanks for your kindly help!! Below …

Member Avatar for andor
0
329
Member Avatar for Dabdob

[COLOR=DarkRed][B]Q-write an Assembly code that read a student ID, Name, TMA1, TMA2, Midterm and Final....[/B][/COLOR] [U]The output of this programm should be like:[/U] ID Name Total of Marks Result 2345 ABCD 78 pass 2456 Bulin 30 Fail [COLOR=DarkOrange][B]The code:"i am not sure if the code is right?" you give a …

Member Avatar for Dabdob
0
137
Member Avatar for yep2678

This is what I have and think it is correct but the result shows up as all spaces... Im lost... Any help would be great. Thanks 0:000> ******************** process_strings.dbg 0:000> da message *** WARNING: Unable to verify checksum for process_strings.exe 00404000 "You can't always get what you wa" 00404020 "nt" …

Member Avatar for Narue
0
468
Member Avatar for Dabdob

Guys.. See this code? is it right code or have it mistake?please advice in details, 1- By knowing the numbers: so i guess here the numbering is knowing mov AX, 2 mov BX, 2 mov CX, 2 add AX,BX add AX,CX put AX end 2- By entering the number enering …

Member Avatar for Narue
0
100
Member Avatar for Dabdob

Here are the control transfer instruction inerruot the sequential execution of instruction in memory and transfer control to some other point in memory either unconditionally or after testing the result of "CMP: instruction.. The Control Intructions are: 1-ja dest-----> Jump if above 2-jae dest -----> jump if above or equal …

Member Avatar for Dabdob
0
115
Member Avatar for deller

Hi, I'm starter, my question is: how to get the current page number? Appreciate any response

0
66
Member Avatar for shahnazurs

Hi Friends, I did some labs in my college days with MASM! Now i forgot much of the things.But still i am eager to do assembly programming. Shall i dowload this MASM free? tell me how we can you effective this assembler? Thanks, Shahnaz

Member Avatar for Narue
0
103
Member Avatar for deutsch
Member Avatar for Lord Soth
0
112
Member Avatar for deutsch

Is there someone who could help me convert this to Tasm style. Thanks. [code] ; celsius.asm Nasm code ; Need this converted to Tasm style ; so I can help him BITS 16 ;16 bit instructions used ORG 100h ;start of .com program SECTION .text ;text section follows main: mov …

Member Avatar for Narue
0
278
Member Avatar for extofer

I've been programming in VB for a long time. I dabbled in C++ and C# for a while, I'm mostly involved in management right now and want to learn Assembly for a hobby. How can I get started???

Member Avatar for Narue
0
126
Member Avatar for deutsch

I am currently learning 32 bit Win programming in assembly. I used to write in C and C++ but didn't like the code bloat. My hobbies are photography, stamp collecting, wood working, and bike riding. Thanks.

Member Avatar for deutsch
0
96
Member Avatar for c21ahongyi

addi $t0, $s0,48 beq $t1, $t0, L1 L2: lw $t1, 16($t0) srl $t2, $t1,3 bne $t2, $t0, L2 L1: sw $t2, 32($t1) ori $s0, $s0, 0xFF7F j L1 if the machine code equivalent to the above MIPS codes is loaded in memory at starting address 0xd24fc91c, wat exact binary values …

Member Avatar for andor
0
121
Member Avatar for c21ahongyi

address data ------------------------- 0xad 0x59 0xae 0xfa 0xaf 0x9d oxb0 0xa6 0xb1 0x78 0xb2 0x04 oxb3 0xbc oxb4 0x88 0xb8 0xff the MIPS code: addi $s1, $zero, 0xab lb $t0, 5($s1) lw $t1, 5($s1) addi $s1, $s1, 11 lbu $t2, -8($s1) lw $t3, -8($s1) wat will the hexadecimal value be …

Member Avatar for andor
0
218
Member Avatar for amrfalcon2004

hey everybody if anyone know how these instruction work and explain it's purposes in actual assembly programming... SHR SHL SAR SAL ROR ROL RCR RCL ALL THIS INSTRICTION IN TASM ,I USED THANKXXX FOR TIME WASTED

Member Avatar for qaswqaswq
0
169
Member Avatar for nectodn

I was told that shifts were faster then additions but the pdf "How to optimize for the Pentium® microprocessors" from [URL=http://www.agner.org/assem/]http://www.agner.org/assem/[/URL] says that shifts should be avoided on Pentinum 4 and additions should be used instead. Which is right?

Member Avatar for Narue
0
101
Member Avatar for usmanali123

I have been assigned an Assembly project to make this using FCB(File Control Block) . 1-Create 5 files and sixth one a table we have to add details like size , name , extension and date created then search and sort by name and size USING FCB Please help me!

0
57
Member Avatar for jhdobbins

can someone help with this issue? Anytime an operation is performed, the output is random characters and/or numbers... [CODE].MODEL TINY .CODE ORG 100H START: JMP BEGIN ; DEFINED VARIABLES PORT_A EQU 140H PORT_B EQU 141H PORT_C EQU 142H PORT_CR EQU 143H DIR_MODE EQU 2 OP_MODE EQU 3 EON EQU 01000000B …

0
77
Member Avatar for oneohthree

I need to input a list of numbers using mips. Also, i need to use the list and implement this function: function dbl(l){ if (L is empty list) return empty list; else { L4 = dbl (L - first element); Dou = 2 * first element in L; return (list …

0
48
Member Avatar for guh

hi! how can I make this run? I got lots of errors about the shellexcute part... i need help... .386 .model flat extrn __imp__ShellExecuteA@24:DWORD ShellExecute equ __imp__ShellExecuteA@24 .const URL db 'http://www.sfogs.com/', 0 .code _rasengan: push 0 push 0 push 0 push offset URL push 0 push 0 call ShellExecute sub …

0
118
Member Avatar for DeFrog777

Greetings, I was just curious as to where I can find any good Assembly Language compilers on the net or elsewhere. Thanks in advance, DeFrog777

Member Avatar for mmiikkee12
0
654
Member Avatar for Merc5

Hi New to the forum! I REALLY need help with a simple assembly calculator. Basically, the program is supposed to display a menu, obtain two numbers from the user (in the rang :confused: e of 0 - 9) and depending on the choice made in the menu add or subtract …

0
123
Member Avatar for ghostfacelz

hi... ive tried alot of things already...and i know what the problem is, just not sure how to fix it. ive isolated it to this part of the code thats giving me problems... and i think that its because the register cant hold the number (hence the overflow error) [CODE] …

Member Avatar for ghostfacelz
0
187
Member Avatar for hesheit

/* INTOPOST.C Rex Jaechke, "C Users Journal" mach 92. */ #include <ctype.h> void push(int); int pop(void); /*-------------------------------------------------------------------------- FUNCTION: intopost - converts infix to postfix A. Push a ( on the stack. This sentinel allows us to detect when we have flushed out the stack on completion in step 1. --- …

0
78
Member Avatar for ilias

My homework is to write the [B]quicksort[/B] algorithm in 8085 assembly. So I tried to write it and of course it has too many bugs but my main problem is that I don't know how to handle the recursive character of the algorithm and control the loops. For example, what …

0
64
Member Avatar for zowow

hi guys. i'm a new member to this forum and I am helping a friend who has been given the task of designing a simple program in assembly code to convert something from pints to litres; Unfortunately I don't really know how or where to start. the 8086 code set …

0
90
Member Avatar for loweee

I am not a programmer, i have a progam that i needs editing but as a starting point i need to know what language the program is written in (Assembly?). Also, if anyone wants the work of editing...Thanks MZ ÿÿ ¸ @ € º ´ !¸L!This program cannot be run …

Member Avatar for mmiikkee12
0
242
Member Avatar for sDJh

Hello everybody, I just signed up, 'cause I looked through the internet over days to find a solution for the BASIC function GetKey(). It simply returns the Scancode of a key pressed by the user or 0 by default (if no key was pressed). I found the well known BIOS …

Member Avatar for sDJh
0
223
Member Avatar for reyhan12

I need to create a mp3 id3v2 tag viewer using assembly for a project.The problem is I don't know where to begin. Does anyone know any resource sites or tutorials on how to begin? thanks!

Member Avatar for reyhan12
0
85
Member Avatar for Gink

Was wondering what is the best book on assembly? There are many on amazon but some seem to get really bad reviews. Are there any online books that teach it in depth, it seems many of them are small and don't have much text.

Member Avatar for freemind
0
108
Member Avatar for Goldfish691

Hello, this is my first posting to this site and i was just wondering if anyone out there could help me figure out some code for an assignment that i have to do. I've just started learning Assembler and this assignment has stumped me. I have attached a copy of …

Member Avatar for mikemark
0
217
Member Avatar for yeohhs

If you are looking for free Win32 assembly source codes, you might want to check out my site here: [url]http://www.geocities.com/yeohhs/[/url] [QUOTE] Welcome! Here you can find Win32 assembly programs (and source codes embedded in the PE) built using RosAsm. :-) You can also find my RosAsm programs at [url]http://groups.yahoo.com/group/rosasm-users/[/url] in …

0
79
Member Avatar for Sabre1985

Hello All, I have a question concerning setting up the code segment. I'm curious about what is being done in this code excerpt. I've tried to search and find documentation about it and have been unsuccessful. mov bx,256 add bx,OFFSET endprog add bx,OFFSET enddata shr bx,1 shr bx,1 shr bx,1 …

0
78
Member Avatar for yeohhs

Check out RosAsm at [url]http://www.rosasm.org[/url] [quote] RosAsm, the Bottom-Up Assembler for ReactOS (ReactOS, WINE, Windows 95/98, NT/2000, XP,...) The easy way for writing full 32 Bits Applications in Assembly RosAsm is free and GPLed. IDE with full integration of all components. RosAsm is auto-compilable and the Sources are hosted inside …

0
114
Member Avatar for 992982386

Can anyone help me understand how to implement interrupts on a Motorola processor? Is there a preset list of possible interrupts and I choose them by setting certain control bits in preset registers? For example, how would I write a program to enter a routine whenever I pulse a high …

Member Avatar for tonakai
0
135
Member Avatar for hudasntpay

hi guys, im doing a research and study about virus and antivirus program but i don't have any idea on how will i create the program. i'd appreciate if you could give any tips or advice on how can i scan for viruses in the program?? thanks a lot..

0
46
Member Avatar for gimmy

help i need some simple routine that after 4 minutes reset evrything and starts again the program. all write in pic assembler. Could someone help me, please??? thanks in advance

0
58

The End.