Author Topic: Actual assembly question  (Read 5977 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5897
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Actual assembly question
« Reply #30 on: August 29, 2018, 04:33:05 AM »
Andy,

In 32 bit its the Intel "Application Binary Interface" which specifies register preservation rules.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

Magnum

  • Member
  • *****
  • Posts: 2284
Re: Actual assembly question
« Reply #31 on: August 29, 2018, 04:38:44 AM »
Thanks. I will see if Ollydbg will run in Linux.

And study the output.

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

HSE

  • Member
  • ****
  • Posts: 839
  • <AMD>< 7-32>
Re: Actual assembly question
« Reply #32 on: August 29, 2018, 04:39:50 AM »
What is ABI?
Search forum  :biggrin:

The problem in FShell_render:
Code: [Select]
    mov [esi+eax],dx
    shr edx,16
    mov [esi+eax+2],dl
this proc rely in esi. Perhaps because ABI, program work here.

Magnum

  • Member
  • *****
  • Posts: 2284
Re: Actual assembly question
« Reply #33 on: August 29, 2018, 04:48:04 AM »
What is ABI?
Search forum  :biggrin:

The problem in FShell_render:
Code: [Select]
    mov [esi+eax],dx
    shr edx,16
    mov [esi+eax+2],dl
this proc rely in esi. Perhaps because ABI, program work here.

I did a search for ABI but found only our posts.

I have not done any assembly programming for at least 7 yrs.
So, please consider me a somewhat newbie.


Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

HSE

  • Member
  • ****
  • Posts: 839
  • <AMD>< 7-32>
Re: Actual assembly question
« Reply #34 on: August 29, 2018, 04:57:40 AM »
I did a search for ABI but found only our posts.
From time to time is refloated that subject.

I fill esi with a valid value.
Code: [Select]
    mov esi, bitmap1

Magnum

  • Member
  • *****
  • Posts: 2284
Re: Actual assembly question
« Reply #35 on: August 29, 2018, 05:04:17 AM »
Not working.

I appreciate all your help.

But I installed Masm32 and assembled one of the examples.

Ollydbg also works.

And it works great.
Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

HSE

  • Member
  • ****
  • Posts: 839
  • <AMD>< 7-32>
Re: Actual assembly question
« Reply #36 on: August 29, 2018, 05:06:04 AM »
 :t