2,878 Topics

Member Avatar for
Member Avatar for dancks

I have a larger program that I want to write, but I can't complete it unless I get this down. I have an array, need to put in a string value to be read out. the program generates characters of data at a time, not as a whole string so …

Member Avatar for dancks
0
166
Member Avatar for iPanda

I have an assignment to make a code that will check what is the longest "string" of zeros inside a double word binary number, for example (in a Byte) if I have this number: 10010001 The answer will be 3. The code I've written works fine until a certain point …

Member Avatar for GunnerInc
0
108
Member Avatar for VirusS

good morning \ afternoon \ evening i need a help in the assebly code ,, my brain about to explore !! so here's the Q: this program reads an array of integers and an integer number .the program then checks if there are any numbers in the array smaller than …

Member Avatar for VirusS
0
262
Member Avatar for kikic

Hello, I need help for my task.. This is the matrix 1 2 3 4 5 6 7 8 9 the result is 1,4,7,8,9,6,3,2,5 I have to solve this task in assembler 8086 in emu... I need help, it is very important for me. Please help me

Member Avatar for kikic
0
5K
Member Avatar for dedmonds

I have created this code, but now I need the create new prgram that repeats the same steps three times, using loop. Clear the screen after each loop iteration. ??? [CODE] integer_count = 3 .data promptuser byte "Enter a two integers: ", 0 sumOf byte "The sum of the integers …

Member Avatar for sbesch
0
191
Member Avatar for aizen92

Hello, I would like to know how can I put a binary number such as 110 in a register in MIPS? Thanks,

0
145
Member Avatar for kikiritce

; multi-segment executable file template. data segment string db "THis is LuxUR in Summer." ends stack segment dw 128 dup(0) ends code segment start: ; set segment registers: mov ax, data mov ds, ax mov es, ax mov bx, offset string mov al, 0 ; lower letters in word mov …

Member Avatar for sbesch
0
256
Member Avatar for ronnelglova

hi, I want to display _____* ____*** ___***** __******* _********* what should I do.,?

0
44
Member Avatar for kikiritce

Matrix given in memory to print the spiral in opposite direction from clockwise (left column down the right lower range, right up column, a series of upper left, etc. until you get to the middle) This is matrix 1 2 3 8 9 4 7 6 5 and the result …

Member Avatar for kikiritce
0
159
Member Avatar for rockerjhr

pushl %ebp movl %esp,%ebp pushl %ebx movl 8(%ebp),%ebx leal 2(%ebx),%edx xorl %ecx,%ecx cmpl %ebx,%ecx jge .L4 .L6: leal 5(%ecx,%edx),%edx leal 3(%ecx),%eax imull %eax,%edx incl %ecx cmpl %ebx,%ecx jl .L6 .L4: movl %edx,%eax popl %ebx movl %ebp,%esp popl %ebp ret trying to make code in c then compiling it with the …

Member Avatar for BlZbB
0
251
Member Avatar for shane707

I need help in a program in Mainframe Assembler, for IBM Computers. I need help in Write an assembly program (Mainframe Assembly [url]http://www.billqualls.com/assembler/index.html[/url]) that reads a file and reports how many lines, words, number of commas, number of periods and characters that appear in it. For purposes of the program, …

Member Avatar for shane707
0
225
Member Avatar for rockerjhr

Im new to asembly in general and im trying to learn but i kind of not get a lot of stuff in IA32 how do I convert this: [CODE]pushl %ebp movl %esp,%ebp movl 8(%ebp),%edx movl 12(%ebp),%eax movl %ebp,%esp movl (%edx),%edx addl %edx,(%eax) movl %edx,%eax popl %ebp ret[/CODE] to C ? …

Member Avatar for rockerjhr
0
119
Member Avatar for shqiptari88

Hi, I need to program to compress/decompress txt files using Huffman algotrithm I have writen it, and it works good for files that have less charachters than the buffer size, but it doesnt work for files with greater number of characters. My problem is to interface compression buffer with decompression …

0
65
Member Avatar for shacknetisp

I am creating a simple Operating System called OneFileOS, and I am wondering if I must use a special version of assembler, or if I can use the regular x86 version. Thank You.

Member Avatar for Ancient Dragon
0
148
Member Avatar for potpaLaptop

I got the basic understanding of what it is asking for the Declarations but im lost after the first question. 1) Declares a vehicle record as a struct with the fields: id, make, cost, sale price, profit (profit should be kept empty, it will be calculated in the program) 2) …

Member Avatar for Ancient Dragon
0
126
Member Avatar for chchiu
0
72
Member Avatar for meowbits

I have been messing around with this code forever.. I know im missing something but I am completely lost at this point. The code is suppose to print the array, then shift all the values to the right with SHRD, then reprint the array. Please help! Thank you! [CODE]INCLUDE Irvine32.inc …

Member Avatar for meowbits
0
191
Member Avatar for Diogo Martinho

This is probably an easy thing to do but I don't know how. How can I declare in the .data section one pointer to an integer?

Member Avatar for Diogo Martinho
0
70
Member Avatar for mailgtauqeer

You can use and assemble with MASM611 very easily in Notepad++. Ihave find a very nice customization of Notepad++ on a blog. You can find it at [URL="http://easymasm.blogspot.com/"]http://easymasm.blogspot.com/[/URL]

Member Avatar for mailgtauqeer
0
418
Member Avatar for buae2

Hi are these two instructions valid in assembly language? (8086 mov instruction). 1. mov DS,[BX] 2. mov DS,[3900H] if no,why not?!

Member Avatar for gusano79
0
186
Member Avatar for minimi

The code I have written so far only blinks constantly regardless of which switch is HIGH or LOW.. I can't seem to figure out how to make one switch faster than the others because it would either blink all switches at same rate or remain steady (doesn't blink). Could anyone …

0
80
Member Avatar for datdude07

Hi I'm stumped on how to make this program that I'm working on to output the information to the text file in a nice fashion instead of writing it in a funny way. I basically want this program to output the student record information line by line and organized. The …

Member Avatar for datdude07
0
152
Member Avatar for jdm

Is it possible to check a string that is stored in a dword for spaces? Sincerely yours; jdm

Member Avatar for thines01
0
121
Member Avatar for fat0ali0ma

heey I need ur help.. how to convert a string (text content) to base 64 ??what are the steps for writing this program thx..

Member Avatar for gusano79
0
272
Member Avatar for baldwindc

Hi, in a given c program where you have [CODE]myvar = sumR(char * arg1, int arg2)[/CODE] sumR is a function in an assembly .s file. I have done all the calculations, but I have no idea how to return the value to the calling c program. Any ideas? Thanks so …

Member Avatar for GunnerInc
0
686
Member Avatar for zemzela

Print all small Cyrillic letters from A to Z with spaces between letters: A B C D ... Jay Z using the instruction LOOP. I need help to solve this task, if someone know please help me...

Member Avatar for thines01
0
33
Member Avatar for Adola

Good evening! Can someone help me understand how to execute a .bat file using MASM assembly? I'm on windows, and using an Intel processor. (The reason I need this is kinda silly, so if anyone knows a better way, please help. But I need it so I can run my …

Member Avatar for Adola
0
45
Member Avatar for dmtYork921

Hi, I created this student calculator code but in MASM32 it keeps giving me errors. I've modified it about 10 times but it's still wrong. Could anybody help me? [CODE].data ;the terminators NULL EQU 00H CR EQU 0DH LF EQU 0AH ;number of test scores allowed MAXSCORES EQU 5 ; …

Member Avatar for thines01
0
390
Member Avatar for vs49688

I'm trying to write a procedure to write a string directly to the video memory. It expects the address of the string to be in SI, the length of the string in AH and the offset in video memory to be in AL. The code correctly handles the length of …

0
190
Member Avatar for kikiritce

I don't know how to solve this task,could anyone help me... Print all small Cyrillic letters from A to Z with spaces between letters: A B C D ... J. W LOOP instruction using?

0
62

The End.