2,878 Topics
| |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
Hello, I would like to know how can I put a binary number such as 110 in a register in MIPS? Thanks, | |
; 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 … | |
hi, I want to display _____* ____*** ___***** __******* _********* what should I do.,? | |
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 … | |
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 … | |
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, … | |
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 ? … | |
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 … | |
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. | |
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) … | |
pay to do a simple Mips Assembly exercise. email: [email]gogo@depeople.com[/email] | |
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 … | |
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? | |
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] | |
Hi are these two instructions valid in assembly language? (8086 mov instruction). 1. mov DS,[BX] 2. mov DS,[3900H] if no,why not?! | |
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 … | |
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 … | |
Is it possible to check a string that is stored in a dword for spaces? Sincerely yours; jdm | |
heey I need ur help.. how to convert a string (text content) to base 64 ??what are the steps for writing this program thx.. | |
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 … | |
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... | |
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 … | |
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 ; … | |
| 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 … |
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? |
The End.