2,888 Topics

Member Avatar for
Member Avatar for C-Money

I have been working on a code that takes three strings, copies one string into another, takes the length of one of the strings, then concatenates the three strings, copies them, and get there length, but there is a problem. I need it to display 'The three strings combined are: …

Member Avatar for C-Money
0
459
Member Avatar for C-Money

I working on a mips code as extra credit for my Computer Organization and assembly class. The instructions are: Write a program) that will define the following string manipulation functions. Each is analogous to the corresponding C++ string function. STRLEN( Str &, Len &) Sent the address of a string, …

Member Avatar for C-Money
0
13K
Member Avatar for C-Money

I am attempting to write a code with several different segment, such as combine two differents strings, compare two strings, find the length of a string. Right now, I am working on the part to get the string length, but when I run the code I have so far on …

Member Avatar for C-Money
0
13K
Member Avatar for MasterHacker110

So i have bought this book about assembly language but they use Netwide assembler and i dont have an IDE / COmpiler for it. I have looked at NASM origanal website but i din't fid any IDE. I use FASM, i dont know if NASM will work with FASM. Any …

Member Avatar for Дмитрий_4
0
2K
Member Avatar for C-Money

For the assignment I am doing for my Computer Orgainzation and Assembly class, we are to print a given array, using the selection sort. Then, for bonus points, we are to print the array after it is sorted 5 per line. I am stuck on this part. My codes sorts …

Member Avatar for Schol-R-LEA
0
5K
Member Avatar for C-Money

I am trying to write a code that asks the user to input a string, then displays the string with vowels removed. Ex: Godzilla returns in 2014, the output will be 'Gdzll rtrns n 2014' However, I am having massive difficutly in writing this for assembly. However, I was able …

Member Avatar for C-Money
0
1K
Member Avatar for C-Money

I am attempting to write a Mips code that will take a user input string, and display it without the vowels. I have gotten to a point where it removes the first vowel, but when it displays the string, it only displays the letters before the first vowel. Such as …

0
213
Member Avatar for recher_14263

hi how can download a file (for example file.text) from an url in assembly language programing in mac osx or linux

Member Avatar for GunnerInc
0
1K
Member Avatar for ang19

Hi have one querery regarding writing in machine code, address- instruction 00000 001 10000 00001 010 10000 00010 100 10000 00011 110 10001 00100 111 00000 10000 000 00001 10001 000 11111 i dont know how to write a program in machine code, which adds up to the numbers stored …

Member Avatar for David_34
0
1K
Member Avatar for zbits

How do you apply the correct math formula from wikipedia? Wikipedia's math formula: > lba = ((c * hpc)+h) * spt +s -1 LBA to CHS code from brokenthorn: xor dx, dx div word[bpbSectorsPerTrack] inc dl mov byte[absoluteSector],dl xor dx, dx div word[bpbHeadsPerCylinder] mov byte[absoluteHead], dl mov byte[absoluteTrack], al ret

Member Avatar for zbits
0
173
Member Avatar for waleed2564

anyone help (assembly language program nasm file) Input a binary number and count the number of 1’s and zero’s in it and display.for example enter the number :01100110 No. of 1’s: 4 No. of 2’s: 4

Member Avatar for Assembly Guy
0
69
Member Avatar for SuperKingGT

Hey guys! I'm in the process of writing a bootloader and I'm having trouble printing out memory information, using 16 bit nasm I know INT 12h stores the low memory information in AX but I can't seem to print it out correctly. I'm currently trying to print it by converting …

Member Avatar for SuperKingGT
0
2K
Member Avatar for Rahul47

I have already done some Assembly programming using Turbo Assembler. So recently i downloaded MASM32 but i was unable to link and execute my programs. Is there anyone out there who can suggest a way to link and execute using a simple Hello World! Program ? Thanx

Member Avatar for Rahul47
0
1K
Member Avatar for takko

I am trying to read a string from a file and print it on the screen, but I always get an error at opening the file. Why is this happening? What is wrong with the code or with the file? PS: the file is in the same folder as the …

Member Avatar for untio
0
246
Member Avatar for RandomGuy32

I am new to NBC programming and am trying to program my Lego NXT Brick to search for and follow a line of black electrical tape that I have on the floor (I have the light sensor in the front and pointing straight down at the ground). As of right …

Member Avatar for Assembly Guy
0
106
Member Avatar for eeeraser
Member Avatar for astrojunk

Hi. Please help... I'm trying to display * ** *** **** ***** but it doesn't work.. What could be wrong? Here's my code: [CODE].model small .stack 100h .data space db " ","$" newline db 13,10,"$" ast db "*","$" .code mov ax,@data mov ds,ax mov cl,1 again: mov bl,cl back: mov …

Member Avatar for fuyulight
0
2K
Member Avatar for sarila

hi everybody I have a project that I teach machine language source code: Open the file Writing to a file Save File I have to leave the files on the machine. Can anyone help me?

Member Avatar for Assembly Guy
0
66
Member Avatar for ali moh

blease any one can help me to write an assemply program that which take upper limit value from the usser and count down alos separate odd and even value whiling count thank you for all

Member Avatar for Assembly Guy
0
62
Member Avatar for Dani

This is a program I wrote for my x86 assembly class which generates matrices, multiplies them, and computes how long the arithmetic took. It uses Irvine32.inc which came with the textbook.

Member Avatar for ESLAMIKA
1
5K
Member Avatar for Rahul47

What is possibly wrong with this code ? data segment msg db "Enter a character: " data ends code segment assume cs:code , ds:data mov dx,data mov ds,ax mov dx,offset msg mov ax,08h int 21h mov bx,ax mov ax,4c00h int 21h code ends end ![766258137b1795d569beae9cd872b521](/attachments/large/4/766258137b1795d569beae9cd872b521.jpg "766258137b1795d569beae9cd872b521")

Member Avatar for turboscrew
0
229
Member Avatar for stephanie904

I don't have any errors, I have everything I need except the output which I want it to show on certain row and column. My prompt displays on row 7, column 33 and I want the output to be on on row 9, column 33. So right now instead of …

Member Avatar for stephanie904
0
394
Member Avatar for el.maxim.st

Hello! First of all i want to sa that i have searched here for an answer, but i can't find an explanation :( I want to make a countdown, let say 20 sec. The user must click on a specified pixel in this time. If the user don't click the …

Member Avatar for el.maxim.st
0
479
Member Avatar for shqiptari88

Hello, I'm new in assembly. I have to do a program that copies the data of an input file to an out put file. but this output file has to be created. The problem is that I cannot create this file which seems to be so straight forward. the Code …

Member Avatar for MRehanQadri
0
793
Member Avatar for el.maxim.st

Hi, i am using emu8068 and i want to know how i read from a file or buffer(with file text) a specified caractes. I have a file named "config.txt" and it seems like that: Easy 50 10 Hard 20 5 When user select Easy/Hard i want to catch the 50 …

Member Avatar for turboscrew
0
113
Member Avatar for OWSOME.GUY

.model large .stack 100h .DATA STR1 DB "ENTER YOUR NAME HERE : $" STR2 DB "JABBAR$" INSTR1 DB 20 DUP("$") INSTR2 DB 20 DUP("$") N DB ? S DB ? NEWLINE DB 10,13,"$" MSG1 DB "HAPPY BIRTHDAY BRO MAY BLESSINGS OF ALLAH BE UPON YOU (^_^)$" MSG2 DB "SORRY It'S …

Member Avatar for OWSOME.GUY
0
229
Member Avatar for xcarbonx

Hello, I was just wondering if it is possible to create a data struct in assembly 8086. For example, creating a struct that holds a student's name and ID number.

Member Avatar for Assembly Guy
0
3K
Member Avatar for kyle.mace.35

So I am trying to reverse a string inputed by a user and I am getting an error on one line of my code the line is lw $t3, $t0($t1) #load value. Why can I not do this? .data prompt: .asciiz "Enter in a string: " backwards: .asciiz "That string …

Member Avatar for turboscrew
0
6K
Member Avatar for kal_crazy

Ok I have done the fibonacci number iteratively but now I want to do it recursively. I am using CPUSims 3.6.9 16-bit (4 bit opcode). ;getN ;get a value, n, from user ;test if fib(0) or fib(1) return to main with value getN: read ;read a value and store into …

Member Avatar for kal_crazy
0
2K
Member Avatar for reloadmvp

SO guys I am supposed to be making a program that will check for a palindrome but, I can not get my code to work. It seems to be stuck on the cmp part. I am not sure if this is even right I dont have much experience with masm. …

Member Avatar for turboscrew
0
1K

The End.