Can I legally do this syntax?

From: John Collyer (johncollyer_at_zoominternet.net)
Date: 01/21/04

  • Next message: lallous: "Re: Store "JMP [EAX*4+ESP]"
    Date: Wed, 21 Jan 2004 19:03:08 +0000 (UTC)
    
    

    Hi,

    Can I legally do this? Will the value of esi access the array and then mov
    that value into esi? If so, I can
    shorten some code.

    memory dd 0ffffffffh dup(?)

    mov esi,0ffffh
    mov esi,memory[esi]

    John Collyer

    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----


  • Next message: lallous: "Re: Store "JMP [EAX*4+ESP]"

    Relevant Pages

    • Re: Can I legally do this syntax?
      ... The previous post said that it was a legal instruction. ... Will the value of esi access the array and then ... >> John Collyer ... > This is a really large array you're trying to create. ...
      (comp.lang.asm.x86)
    • Re: Can I legally do this syntax?
      ... Will the value of esi access the array and then ... > mov esi,0ffffh ... This is a really large array you're trying to create. ... If you're using MASM, it will take a *very* long time ...
      (comp.lang.asm.x86)
    • Re: Can I legally do this syntax?
      ... Will the value of esi access the array and then mov ... > memory dd 0ffffffffh dup(?) ...
      (comp.lang.asm.x86)
    • Re: getting offset of the value instead of the value
      ... program that has a "graph" feature in it. ... column will be loaded from the array. ... PUSH BX ... MOV BX, 440 ...
      (comp.lang.asm.x86)
    • Why does this array send garbage to the screen?
      ... array db 0,0,0,0,0; Array of five integers initialized to 0. ... After moving the array to the line immediately after "jmp ... PUSH AX; store registers... ... MOV AH, 0Eh; teletype function. ...
      (comp.lang.asm.x86)