2,889 Topics

Member Avatar for
Member Avatar for Xufyan

There are so many services which can be used with the interrupt 10h, I'd like to ask the question about two of them whom with i am confused First is, AH = 06H SCROLL UP WINDOW AH = 07H SCROLL DOWN WINDOW While coding in DOS what is meant by …

Member Avatar for mathematician
0
181
Member Avatar for bobejoe

can anyone tell me if there is such thing as 64 bit assembly if so can you give me an assembler

Member Avatar for mathematician
0
82
Member Avatar for nickcolb

Hey everyone, I was wondering if there was a way to cycle through the individual bits of a port without having to write each one out individually i.e. P1.0, P1.1..etc. I need to light up some LEDs and just wanted to save myself from lengthy code. I'd be particularly interested …

Member Avatar for mathematician
0
179
Member Avatar for aiwasen

I already download MASM but it won't worked. I cannot see the MASM icon needed to compile the program. I downloaded visual 2005 also although I can see the MASM in control panel uninstall program. .model small .data x db "Hello World", '$' .code main proc near mov ax, @data …

Member Avatar for mathematician
0
160
Member Avatar for dark_sider_1

Hi there, I know this is probably a really stupid question, but I'm new to MIPS programming, and I was wondering, do you know if there's anything wrong with this code? This definitely isn't like high-level programming when the compiler shows you where the syntax error is. Not even sure …

Member Avatar for rubberman
0
703
Member Avatar for meda.gharib

Hi everyone I'm stuck on a school project. The Following is the prompt: > Write an assembly language program that prompts the user to enter a string to be interpreted as an 8-digit hexadecimal number. Your program must convert the ASCII string representation of this hexadecimal number into a 32-bit …

0
517
Member Avatar for jaylordamar03

Hi, i need help. I have project in assembly that controls the rotation of a dc motor device with the use of l293d ic and TASM. I want to know how am i able to control it using keyboard as an input device,what service number and interrupt number am i …

0
63
Member Avatar for cheetha07

AOA can any one help for the transmission of simple 1 byte from PmodRF1 by using 8051 i have problems in understanding its datasheet ? thanks

0
56
Member Avatar for Kieran Y5

Hi, I decided that my operating system needs some graphics. I have seen loads of tutorials on drawing pixels, and I have used some. I now want to use 32bit protected mode (before I was using real mode) and I can't find any tutorials or documentation on drawing with VESA …

Member Avatar for Kieran Y5
0
2K
Member Avatar for bobejoe
Member Avatar for emorales

I have to do an assignment for class, I have it all complete as far as the math needed but i need to output to a file and can't seem to figure it out. I have to print out prime numbers and I'm trying to follow the example on this …

Member Avatar for Schol-R-LEA
0
7K
Member Avatar for gelmi

We have this subject called Computer Oraganization... we are now using dos debug commands but the problem with my laptop is that when I type debug command...it will prompt 'debug' is not recognized as an internal or external command, operable program or batch file.

0
72
Member Avatar for mann_cool36
Member Avatar for steven.myers.3726

**Assumptions** > variables f,g,h,i and j are assigned to registers $s0, $s1, $s2, $s3, and $s4 respectively > The base addresses for the arrays A and B are in registers $s6 and $s7 addi $t0, $s6, 4 #load the forth element of array A into $t0 add $t1, $s6, $0 …

Member Avatar for sepp2k
0
794
Member Avatar for fanaticlatic

Hello all, I am writing assembly based off the following example paper: http://lestourtereaux.free.fr/papers/data/yuvrgb.pdf It is attempting to convert YUV values to RGB. It does this by using precomputed values in lookup tables for each possible Y,U,V value. Here is an example lookup table: static const unsigned short CoefficientsRGBU[256][4] = { …

0
133
Member Avatar for krosty4782

Hello, im new to asm, and im trying to code some kind of notepad. At the moment, my program create a file, and open a file. Now i want to be able to edit the opened file. I ve thought in one option: When i open the file, it shows …

0
163
Member Avatar for shriekyphantom

Hey! I'm a beginner in Assembly language. I want to know the difference between a declaration enclosed with ' ' and without it. For example, variable1 db '0' variable2 db 0 I know that the one with '' is when printed, it will show what's inside the ''. Thanks~ :)

Member Avatar for shriekyphantom
0
108
Member Avatar for akashsinha23

Hello everyone.. i am quite new to TASM.. i desperately need help with a few programs.. will rilly be grateful if u can provide me the code for them... **Using 32-bit processor and assembler develop programs:** 1) WAP to read a 32-bit interger, store that number in EAX register and …

0
126
Member Avatar for nchy13

hi all. i have implemented Karatsuba algorithm for multiplication of large numbers . when i compile .c file it is giving correct output using followin commands in **linux** terminal. **gcc ulti.c ./a.out < hi.txt** But problem arises when i try to run it in **ARM** using following commands. it give …

0
102
Member Avatar for edwarddaniel.baldeviano

Hi, everyone! This is my first post ever here in Daniweb. I experienced a problem in printing the sorted array of 5 numbers, as the following code only prints the first iteration of the loop, and it does not print the array input. Here's the code: section .data i db …

0
614
Member Avatar for zukushikimimemo

mov eax, 4 mov ebx, 1 mov ecx, msg1 mov edx, len1 int 80h mov eax, 3 mov ebx, 0 mov ecx, num1 mov edx, 2 int 80h mov eax, 4 mov ebx, 1 mov ecx, msg2 mov edx, len2 int 80h mov eax, 3 mov ebx, 0 mov ecx, …

0
97
Member Avatar for nchy13

i want to ask if i can take input from .txt file to run a source file(.s) **using arm-elf-run abc.s** hi.txt. but giving hi.txt is not working like in c ./a.out hi.txt. any help whatsoever is appreciated.

0
120
Member Avatar for asrockw7

With code like so: [BITS 16] ; 16 bit code generation [ORG 0x7C00] ; Origin of the program. (Start position) ; Main program main: ; Put a label defining the start of the main program call PutChar ; Run the procedure jmp $ ; Put the program into a never …

Member Avatar for asrockw7
0
151
Member Avatar for CreationK

Are the following MOV instructions correct? MOV DS,[SI] MOV [SI],DS MOV [SI],2000H Thank you.

Member Avatar for ShiftLeft
0
66
Member Avatar for risen375

I need help with this program. It take in a number from the user and displays their grade. For example. If the user inputs 77. The program prints out "Your grade is a C" jmp firstLine ; m1 dw ? prompt db 'Enter a number between 1 to 100: ' …

Member Avatar for hr.Ziggurat
0
164
Member Avatar for ellosbibu

I created a program that : 1)write by keyboard a number A of 5 number digits 2)write all the combinations ( 2 digit ) using digits of number A 3)order the combinations MY PROGRAM DO ALL THIS , but i don't know how to limit the combinations from 4 digits …

Member Avatar for ellosbibu
0
221
Member Avatar for walid86

i've recently published an app but i keep getting this error on machines other than mine. unable to load DLL acbpdf8-64.dll, module cannot be found HRESULT:0x8007007E I've copied all the dll's into the /bin folder, so i get the debug and release folders, along with all the dll's, but still …

Member Avatar for erici
0
3K
Member Avatar for delphi5

hi everybody i m bigner in assembly i want to start a project using assembly language this program must change my keybord from english to another language such as turkish in MS-DOS environment in google i search and cant find any link for this anybody can help me regards

0
58
Member Avatar for DrunkenCoffin

Hello! I've recently started learning assembly so I can begin writing full-fledged languages instead of wrappers. Today, while trying to learn the cmp function, and using je and jne, I've came upon a problem. I tried using cmp to compare two values, and then je and jne to jump to …

Member Avatar for DrunkenCoffin
0
446
Member Avatar for ChuckFinley

A Friend has an old assembly language program he wrote that is 16-bit (did I say old?). He needs to rewrite it for 64-bit. What's the best way to do that (i.e., what program should he use, etc.?) Thank you for any help. CF

0
43
Member Avatar for CreationK

Hello! I'm learning 8086 programming and our college uses ESA 86/88E microprocessor. I have recently downloaded a 8086 simulator and tried to execute this indirect addition program : MOV SI,2500H MOV AL,[SI] INC SI MOV BL,[SI] INC SI ADD AL,BL MOV [SI],AL INT 03 But I have no idea how …

0
49
Member Avatar for matant86

i had a question in exam in the question we need to convert an int64 number to string how can i do that i really dont know that plz someone help me

Member Avatar for ShiftLeft
0
54
Member Avatar for Huck44

I was assigned to write a program that asks the user to enter an integer test score between 0 and 100. The program should display the appropriate Letter grade. I have already written this code. Now I have to run in a loop so multiple test scores can be entered. …

Member Avatar for ShiftLeft
0
154
Member Avatar for Nathan Campos

Hello, I'm starting on Assembly and i want to know how i can clear the screen in Assembly, because of my OS. When i run it in Bochs, that boot messages are there and i want to clear they, for a better visual of my OS. Thanks, Nathan Paulino Campos

Member Avatar for jrandom
2
6K
Member Avatar for Huck44

I am trying to write a program that prompts for 5 signed integers that need to be put into an array. and then I have to do a 4th degree polynomial. The array stores a,b,c,d,e and there is a seperate x value. Can someone help please?

Member Avatar for GunnerInc
0
180
Member Avatar for fbudek

I have been working on an assembly OS with a bootloader and console type thing, it is now getting too big for the 512 bytes allocated as the bootloader so I was wondering how I could link in an external assembly file to use without any size limit, which would …

Member Avatar for prashant14214
0
705
Member Avatar for risen375

Can someone please help translate this statement to assembly language if X <= Y then if Y = V then call Path1 end if else if X > Z then call Path2 else call Path3 endif endif

Member Avatar for ShiftLeft
0
95
Member Avatar for peterbob

Hey guys, I am new to assembly and I am having a problem compling the code. section .text global _start _start: xor eax,eax push eax push dword 0x71242776 push dword 0x76747977 push esp pop esi mov edi,esi mov edx,edi cld mov ecx,0x80 mov ebx,0x41 xor eax,eax push eax lodsb xor …

Member Avatar for peterbob
0
296
Member Avatar for risen375

Im have trouble trying to calulate this 3*a-4*c. The program calculate only 3*a and produces no errors. call getPos M1 dw ? mov M1, AX call crlf call getPos M2 dw ? mov M2, AX call crlf call getPos M3 dw ? mov M3, AX call crlf mov BX, 2 …

Member Avatar for mathematician
0
112
Member Avatar for AlitaMixx

Here's the problem, I was wondering if i am right to assume that when a three-digit input is entered, i.e. 123, then the string 1 will be stored to al, 2 to ah, but i'm not sure where the 3 goes, or if ever it's plain wrong to look at …

Member Avatar for GunnerInc
0
992
Member Avatar for lorrainecarla

Hello. I would like to ask about adding two-digit numbers. There is a part there where it has to be converted to ascii code, my question is why it has to be converted to ascii code? What will its effect? Thank you for your help. I really need this problem …

Member Avatar for resha.mendoza.3
0
7K
Member Avatar for jrmeasures

I am new to Assembly language and I'm getting a problem with the DIV operation. This should output the quotient and remainder if a 1-digit number is divided to a 1-digit number. What is wrong with my code? .MODEL SMALL .STACK 64 .DATA MSGA DB 13,10,"Input first number: ","$" MSGB …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for bryan1993

i downloaded asm assembler and i did edit a codes but the problem is when i was about to compile the codes using (asm fileneme.asm) it says 'asm' is not recognize... what will i do? how will i copile my codes unto it, is there any other solution aside from …

Member Avatar for ShiftLeft
0
78
Member Avatar for kingkactuar

I'm writing a program in MARS that encrypts/decrypts a string with a simple addition/subtraction method to each character according to a 4 digit key such as '2848.' I'm now trying to navigate through each character in a string and just increase the decimal count by 1 just to test it …

0
125
Member Avatar for oswald_santos

Our professor is not teaching us how to blink a message entered to an address using debug.exe. I only know how to print a message. Can you please help me? It's our assignment. I can't find any youtube video or pdf tutorial to help me. Thank you very much.

0
121
Member Avatar for hassan.sawalmeh

i just wrote an assembly code of a game nd i want the program to give the time i took to finish the game how ?

Member Avatar for ShiftLeft
0
74
Member Avatar for Denise23

Can someone tell me what I am doing wrong in this program? Write, assemble, and test a program to input 3 signed values (a, b, and c, in that order) and to calculate and display the signed value of the expression b + 2(3a - 4c) + 5. "call getVal …

Member Avatar for ShiftLeft
0
110
Member Avatar for jefanot

Hey guys, anyone know how to setup FASM on geany so the compile and the execute will work? This is what I currently do: Compile: `./fasm "%f"; chmod a+x %e.com` Execute: `./%e.com` When I compile it, it seems to be okay. When I execute, however, it gives this: `�: not …

Member Avatar for GunnerInc
0
104
Member Avatar for Xhesi

Good day to everyone I am having some trouble with an assignment for my work at College in UK (im 17) We have been given the task of, and the criteria of The program should allow the user to input 4 numbers as follows: '0' - Exit the program '1' …

Member Avatar for Xhesi
0
2K
Member Avatar for 4344

.386 .model flat,stdcall option casemap:none WinMain proto :DWORD,:DWORD,:DWORD,:DWORD include \masm32\include\windows.inc include \masm32\include\user32.inc include \masm32\include\kernel32.inc include \masm32\include\gdi32.inc include \masm32\include\winmm.inc includelib \masm32\lib\user32.lib includelib \masm32\lib\kernel32.lib includelib \masm32\lib\gdi32.lib includelib \masm32\lib\winmm.lib .data ClassName db "SimpleWinClass",0 AppName db "SimpleVirtualPiano",0 szText db 'This is a Simple VirtualPiano----------->made bu liuwei 2003.11.19',0h .data? hInstance HINSTANCE ? hdc HDC ? …

Member Avatar for GunnerInc
0
127

The End.