3,896 Topics

Member Avatar for
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
96
Member Avatar for madhan

Hi – I am new to .net security. I am following Mastering visual C#.net book to learn it.I have the following program in Visual Studio 2008. using System; using System.IO; using System.Security.Permissions; [assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, All=@”c:\\temp”)] class Example19_1 { public static void Main() { // Create a new file to work with …

Member Avatar for madhan
0
217
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
113
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 loserspearl

I've been writing a project in C# using VS2010 .Net 4.0 on my project and am trying to do NUnit testing (version 2.6) which I haven't done before. I added the nunit.framework reference to my project and created a test class: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace …

0
137
Member Avatar for triumphost

So... I'm looking into learning Assembly. I downloaded the FASM assembler and I want to know how useful is assembly? I want the opinion from Cpp programmers because assembly programmers always tell me it's the best language -__- Also quick question: How do I know which register to put stuff …

Member Avatar for DeanMSands3
0
167
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 eeyc

I'm looking for a shortcut or menu command that can collapse all **class** regions only in one esembly example: namespace XX.YY { class A //collapse class B //collapse class C //collapse class D //collapse class E //collapse ..... .... .. } After searching i found this shortcut CTRL M+O it's …

Member Avatar for Mike Askew
0
152
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
79
Member Avatar for Cameronsmith63

How come I cant find this anywhere???? I've tried everything but posting here. Please help. I've got VS 2010 Ultimate...Sigh. I even tried it at work.

Member Avatar for Cameronsmith63
0
102
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 loserspearl

I've been working on a a math tutoring program, I have the problem generator and solver working but I'm trying to have my random operator generator to use a check and change protocol so there isn't ALL add, sub, mult, or div in a problem. Some math problems will have …

Member Avatar for loserspearl
0
209
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 hericles

OK, I've wasted 2 hours on this so it time to ask for help. I opened up my latest website that I'm working on (VS 2010) this morning and whenever I access a page that uses server side code I get errors like these: CS1061: 'System.Web.UI.WebControls.Image' does not contain a …

Member Avatar for hericles
0
208
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
Member Avatar for brunoccs

I've writen the following MIPS assembly code to test for arithmetic overflow .text add $s0, $zero, 0x80000000 add $s1, $zero, 0xD0000000 add $t0, $s0, $s1 MARS is translates the code above into this: lui $1, 0xffff8000 ori $1, $1, 0x00000000 add $16, $0, $1 lui $1, 0xffffd000 ori $1, $1, …

Member Avatar for Schol-R-LEA
0
502
Member Avatar for ShiftLeft

Is there an option that can be passed to GDB to make it happy with callee cleaning up stack. push eax push rbp push 0 call AddVals ret AddVals enter 28, 0 ;... Bunch of code leave ret 24 1) If I single step "si" into AddVals and right through …

0
65
Member Avatar for disavowed10

Hey Guys, I have a few questions... At work we are overhauling our file server system and I'm in need of some suggestions.... What are some good file management softwares or any suggestions on how to handle it? What we have now is a fairly straight foward system where there …

Member Avatar for disavowed10
0
100
Member Avatar for phadalemadhuri

this my following code not returning all forms name......plz help me.. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Telerik.WinControls; using System.Collections.Specialized; using System.Data.SqlClient; using System.Reflection;//to fetch all forms of the current project private void fillForm2() { Type[] AllTypesInProjects = Assembly.GetExecutingAssembly().GetTypes(); foreach (Type …

0
54
Member Avatar for RenanLazarotto

Hey guys! I want to publish my app with a single file, but I have an external dependency which I want to embbed in my app and load it at runtime. Most of the codes I found over the web were meant for non-referenced assemblies or didn't mentioned it at …

0
93
Member Avatar for brunoccs

This is exercice 1.8.6 from Computer Organization and Design The Hardware Software Interface Suppose that the industry trends show that a new process generation varies as follow: Capacitance Voltage Clock Rate Area a. 1 1/2^1/2 1.15 1/2^1/2 b. 1 1/2^1/4 1.2 1/2^1/4 Assuming a Core 2 processor with a clock …

Member Avatar for nezachem
0
93
Member Avatar for minsu44

Well this is not so much of a need, but i really want to learn how to do error handling assembly language[TASM] Basically if the user just types or presses enter the code will go back to the same question with probably a message box or writing stating that they …

Member Avatar for ShiftLeft
0
315
Member Avatar for brunoccs

"Dynamic Power" = "Capacitive Load" times "Voltage²" times "Frequency Switched" Would anyone be so kind as to tell me if Frequency Switched is the same as Clock Rate?

Member Avatar for Schol-R-LEA
0
81
Member Avatar for minsu44

Hello i am really just a begginner in assembly (TASM). anyway, my program is quite simple it is tasked to just ask the user's name and ID number. after which i have to print "hello <name> your ID is <number>" but I cant seem to print both of them at …

Member Avatar for TigerBoyPH
0
4K
Member Avatar for brunoccs

I've written (more like copied) the following assembly code : section .text global main main: mov edx,len mov ecx,msg mov ebx,1 mov eax,4 int 0x80 mov eax,1 int 0x80 section .data msg db 'Hello, world!', 0xa len equ $ - msg I've compiled it with NASM using the following command: …

Member Avatar for brunoccs
0
301
Member Avatar for ShiftLeft

Source code **NASM** on **Ubuntu 12.04** This demonstrates Input/Output algos using syscall and how they can be implemented in a fairly condensed loop. These routine do not conform to any specific call convention and without modification won't interface with higher level languages. My code is stand alone assembly and doesn't …

0
102
Member Avatar for ShiftLeft

# Show # This procedure doesn't conform to any particular calling convention. It is designed specifically to work with other subroutines designed by me. Any of my examples won't be using and standard library functions either. Not because I think they are inadequate, but rather give me complete independence and …

0
146
Member Avatar for silvercats

(1)Are DOS and Windows assembly different? (2)How many registers do both 32bit and a 64 bit processors have speparetl? what is the size of them? (3)To emulate a 16bit or 32bit program under a 64bit processor, does that processor have to physically support those old 16 and 32 bit versions? …

Member Avatar for brunoccs
0
195
Member Avatar for EliStern

Hi, I'm working on a program that reads the keyboard and mouse ports directly (using assembly "in" command), and I want to run some automatic tests on it. The quastion is - is there a way (using QTP\junit\any other tool or script) to simulate direct events to the system ports? …

0
79
Member Avatar for loserspearl

I'm making a math problem generator in visual c#, using a series of random number generators to create a unique math problem each time with some protocols implemented(later to use this for harder difficulties). There are different types of math to be used but right now I'm working on a …

Member Avatar for loserspearl
0
197
Member Avatar for huynhminhsang

Write a LC-3 assembly language program to compute + - * / of complex numbers input form keyboard with the requirement below: number/ real parts / imaginary parts are signed integers give all prompts b4 inputting. outputting / 16 bits faceing to zero /mistakes. I can write a program to …

Member Avatar for TrustyTony
0
1K
Member Avatar for Droidik

Hello there, I just don't know, how to solve this task in assembly - http://oi49.tinypic.com/2qi9q4l.jpg I know what every command does, but don't get the way it's done. Any explanations or advices, please?

0
255
Member Avatar for silvercats

A program written in assembly is machine dependent but a program written in Java ,python etc.. are not. why is that at the end don't they all get converted in to machine language?

Member Avatar for MandrewP
0
502
Member Avatar for huynhminhsang

Help me with this project. "Write a LC-3 assembly language program to compute + - * / of number or *complex input* form keyboard with the requirement below: number/ real parts / imaginary parts are signed integers give all prompts b4 inputting. outputting / 16 bits faceing to zero /mistakes". …

0
61
Member Avatar for Gamer0077

Hello everyone, I'm writing an application with a ListView in C# WPF. I was wondering if I was missing a reference of something, because I get this error all the time: `'System.Windows.Controls.ListView' does not contain a definition for 'Columns' and no extension method 'Columns' accepting a first argument of type …

Member Avatar for Gamer0077
0
537
Member Avatar for zemzela

I need help how to solve this task, I don't know how to solve first part which is for memory location. If someone know please help me. It is very important.. ENTRY RESULTS entrance examination: In memory location X is placed in an entrance exam results in the form: Indeks …

Member Avatar for Schol-R-LEA
0
282
Member Avatar for AnthonyFu

![145](/attachments/small/3/145.jpg "align-left") The LaserJet Pro 400 MFP M475dn is the newest entry into the all-in-one printer market from HP. It is a color LaserJet which scans up to 4.5 inches per minute (ipm) in color and 11.5 ipm in black. This device will copy, fax and print up to 21 …

0
350
Member Avatar for jeff winger

I have to write a program to find the hypotenuse of a right triangle in 8086. and I'm suck. Please please help.

Member Avatar for skaa
0
102
Member Avatar for Th3_M4TriX

Dont know, if chosen a good forum (--assembly), but i need help guys. Just started to look at disassembling and havent found any good tutorials or guides or helps. So I run a program and get eg. this: (only some line, the whole file is bigger) .text:00401000 push ebp .text:00401001 …

Member Avatar for Schol-R-LEA
0
328
Member Avatar for fereshteh_f

**Hi i want a program in assembly that can connect to serial(usb) port and can show the current clock in a lcd . please help me it's urgent.**

0
84
Member Avatar for sasho648

I'm dissasemling an debug exe and I found a function that convert a file hash (from an archive that is used from the program) to a string. I really need to know what this function did but I don't understoos this werid language. Here are pictures of the source: http://imageshack.us/photo/my-images/51/hashfunc1.png/ …

0
69
Member Avatar for moussa_90

i need to make a calculater that reads 2 binary numbers,show the 6 choices:press 1 to AND the 2 numbers,2 to OR the 2 numbers,3 to XOR ... how would i force the user to enter in binary,is their a method lik call readhex or string?"call readbin"??????plz help!

0
59
Member Avatar for silvercats

below links will lead to amazon links of the books I have a trouble deciding what should I use for learning assembly. any other suggstions than those two are welcome too.please answer only if you are experienced and know well about the result of learning from each books. http://www.amazon.com/Assembly-Language-Step---Step-Programming/dp/0470497025/ref=sr_1_2?s=books&ie=UTF8&qid=1338617001&sr=1-2 (new,but …

Member Avatar for silvercats
0
132
Member Avatar for profyou

i have been confused lately regarding where to concentrate... java or c++ or Algorithms & data structures or ........(there are still more languages) whenever i concentrate on java i tend to forget c++ or various algorithms or assembly( i have learned 8086/8088 programming). java is very large...core java......file io....swing..servlets....enterprise java...and …

Member Avatar for jackbauer24
0
288

The End.