2,878 Topics

Member Avatar for
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
70
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
163
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
76
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
78
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
53
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
56
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
159
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
393
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
48
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
78
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
79
Member Avatar for -EMAN-
Member Avatar for -EMAN-
0
191
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
60
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
312
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
135
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
456
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
97
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
112
Member Avatar for deller

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

0
63
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
99
Member Avatar for deutsch
Member Avatar for Lord Soth
0
106
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
252
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
122
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
88
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
118
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
202
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
167
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
98
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
54
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
64

The End.