CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: iviggers

Page 1 of 3 1 2 3

Search: Search took 0.07 seconds.

  1. Replies
    1
    Views
    7,661

    Re: curve fitting in matlab

    This resembles a linear regression problem (statistics), so yes. However, depending on your dataset, running a regression on 1/x^n might give a very poor fit.
  2. Replies
    7
    Views
    14,018

    Re: Going from Dev to manager....

    That sounds great and it should happen everywhere. Promotion to management shouldn't be the only venue for career or salary progression.


    Between developer and manager, I have to classify myself...
  3. Replies
    10
    Views
    22,560

    Re: Need help deciphering assembly code

    Like 19921127 mentioned, this is x86 assebly language using AT&T syntax. The occurrence of AT&T syntax suggests that this binary runs on Linux or a similar OS, but more decisive is the way how the...
  4. JavaScript Problem disappeared.

    Please delete post. Problem disappeared.
  5. Replies
    5
    Views
    3,666

    Re: help commenting assembly code

    I agree with BytePtr, I just didn't want to be again the first one to say that.

    You students, question your teachers, review your credit programs, change them, or you'll end with a big frustration...
  6. Replies
    1
    Views
    2,542

    Re: not so secret?

    Yes, you can add machine instructions to your binary files (.exe or .com).

    Compilers very often leave slack bytes where you can insert code and or modify program flow, as long as it stays...
  7. Re: Windows Assembly Language and Systems Programming - Missing souce code

    Hi All,
    The reason for learning 16-bit assembly first is that it makes easier to understand how to use the registers, for example when working with the most/least significant byte. Starting with 32-...
  8. Replies
    2
    Views
    9,119

    Re: How to Switch into Protected Mode

    Hi PDP8,
    Haven't dealt with that recently or in depth, but in order to switch into PMode you need to disable interrupts (opcode cli), define the table of global/local descriptors, define interrupts...
  9. Replies
    5
    Views
    5,376

    Re: something about resident program ?

    It is related to keyboard:
    File handle 0 refers to the standard input device, e.g. keyboard.
    Service 3Eh of int 21h closes the file.
    Therefore service 3Eh with parameter bx=0 closes the file or...
  10. Replies
    5
    Views
    5,376

    Re: something about resident program ?

    The best option to program in real mode is by installing MS-DOS in a PC (no Windows). There are several OS projects out there and I'm sure some of them are still about real mode.

    The function...
  11. Replies
    5
    Views
    5,376

    Re: something about resident program ?

    Hi Pavilion,
    What do you mean with "head and tai pointers"?

    Without having reversed it, the Int 21h is very likely to rely on interrupts of lower level or BIOS. If so, that's why you can't use...
  12. Re: How do i read a line of text from the cmd prompt

    Hi SMA:
    You're right.

    I just focused on bitshifter420's question (didn't pay much atention to the code), but your remark is correct.

    ds should be defined before giving values to any of...
  13. Re: How do i read a line of text from the cmd prompt

    mov ax,@data defines AX with the value of data segment. This is required exe files if you want access to variables in that segment.
  14. Replies
    1
    Views
    3,871

    Re: Exiting an assembly program

    Try Int 20h, Int 00h (divide exception) or adding to sp (esp) register with opcode retn.

    Int 00h looks most straight-forward but this depends on your program.
  15. Replies
    1
    Views
    2,033

    Re: TASM and Machine Language

    Hi BlueFox815,

    Assuming your asm code is in file.asm you do this:
    tasm file.asm [Enter]
    tlink /t file.obj [Enter]
    and if code was OK you'll have file.com

    To run a .com program you...
  16. Re: error when debugging programs in the tasm 5.0

    Hi DeltaNuSigma,
    First of all, do you already get an EXE or COM file? From your description it looks like you don't. That's the first step, before even thinking about debugging a program.

    It...
  17. Re: Help! reverse string with terminator in assembly

    You're doing fine. What is your question?
    You should just add the opcode "dec cx" right after "loop_a" block, so you don't display an extra char at the end.
    The code you show covers the case of...
  18. Replies
    2
    Views
    3,951

    Re: Reverse-Engineerer fulltimejob

    Hi Rever,
    How do we contact you? Have any e-mail address for that?
    Thanks.
  19. Replies
    2
    Views
    2,836

    Re: ADC potentiometer offset

    Hi,
    I don't know much about electronics or Motorola assembler, but if you're dealing with floating numbers, shifting bits to the right is not the way to go.

    When dealing just with integers (no...
  20. Thread: Hcs12

    by iviggers
    Replies
    6
    Views
    3,505

    Re: Hcs12

    Hi Brad Sue,

    Most of postings in this section regard Intel x86 architecture (specially 16 and 32 bit).

    You may find similar instructions between Intel and the architecture you work with, but in...
  21. Replies
    6
    Views
    27,085

    Re: Read file from assembly

    Not sure what your actual question is.

    If you don't want to jump to "imprime" but store the value into num1 then just change the opcode when 0xa is detected so that you no longer jump to...
  22. Replies
    6
    Views
    27,085

    Re: Read file from assembly

    Hi Migg,
    There are two things to change in your code. I'll begin with the easiest.

    1. Second opcode from label "imprime" is


    mov ecx,esi

    When program gets to this point, ESI no longer...
  23. Replies
    6
    Views
    27,085

    Re: Read file from assembly

    Hi,
    What OS are you working with? If it's DOS or a DOS box from Windows, this will help. Linux is similar but the numbers change and Interrupt is 80h is used (unless you use functions of C library)....
  24. Replies
    2
    Views
    1,025

    Re: Hooking assembly language instructions

    For strictly intercepting opcodes (not just Interrupts) of random programs you definitely need to take the approach of a Virtual Machine or run-time interpreter, pretty much like a process loader in...
  25. Replies
    9
    Views
    1,136

    Re: executable patcher

    Hi,
    In general terms you just need to write an application that opens the target file (.exe, .com, .dat, etc), locates the section to be patched, overwrites according to the new pattern and closes...
Results 1 to 25 of 74
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured