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

Search:

Type: Posts; User: iviggers

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    3,583

    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
    5,915

    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
    18
    Views
    8,990

    Re: Can somebody please explain this to me ?

    Search for Windows assembly programming tutorials by Iczelion. However, that will only be helpful for Win32 because things are very different in x64.

    That being said, my advice is that you start...
  4. Replies
    5
    Views
    2,506

    Re: Very new to assembly language . Please help

    32-bit x86, Linux, assembling with NASM. If I am not mistaken, there is an option in 'as' (Linux assembler) to use Intel syntax like NASM, although it ends up being somewhat of an hybrid with AT&T...
  5. Replies
    10
    Views
    9,086

    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...
  6. JavaScript Problem disappeared.

    Please delete post. Problem disappeared.
  7. Replies
    5
    Views
    2,223

    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...
  8. Replies
    1
    Views
    1,545

    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...
  9. 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-...
  10. Replies
    2
    Views
    5,410

    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...
  11. Replies
    5
    Views
    2,116

    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...
  12. Replies
    5
    Views
    2,116

    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...
  13. Replies
    5
    Views
    2,116

    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...
  14. 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...
  15. 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.
  16. Replies
    1
    Views
    1,962

    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.
  17. Replies
    1
    Views
    1,306

    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...
  18. 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...
  19. 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...
  20. Replies
    2
    Views
    1,752

    Re: Reverse-Engineerer fulltimejob

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

    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...
  22. Thread: Hcs12

    by iviggers
    Replies
    6
    Views
    2,002

    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...
  23. Replies
    6
    Views
    23,941

    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...
  24. Replies
    6
    Views
    23,941

    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...
  25. Replies
    6
    Views
    23,941

    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)....
Results 1 to 25 of 76
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured