Object-oriented assembler program design objasm32

Source: Internet
Author: User

Is there such a flash when I see this question? I have also seen replies from many people:

 

"Can assembly be object-oriented? Isn't it only available in advanced languages ."

 

"Oh, my God. If we even have ASM, it would be totally crazy"

 

"Someone has finally studied this! This objasm32 is indeed very skilled in OOP. It is indeed implemented in the form of macros. I think it is better in this regard. in fact, assembly also requires oop. At least we want to have a deep understanding of OOP. Read the macro of objasm32 to find out the idea.
I think objasm32 is similar to com in ASM in that it uses "niu Hong ""

 

....

I have downloaded it before. I just felt it. This time I downloaded a newer version of objasm32, including multiple modules, such as DirectX and COM. and so on, It's really powerful. How can we use a massive amount of work to describe it.

For more information, visit the Forum: ASM community.

Http://www.asmcommunity.net/board/index.php? Board = 38.0

 

 

Introduction

Object-oriented programming, or Oop, is a programming methodology that has become the mainstay of high level programming ages (Hll) such as Pascal, C ++ or smalltalk. using objasm32, It is possible now to write elegant Assembly programs taking advantage of OOP in the same way as you do using hlls.

 

The main goal of using an OOP approach in your applications is the encapsulation of data and code that operate on these data into a single program entity. such an entity is called an object. the data and the related code are collectively known as object members.

 

Some key points about objects are:

 

  • The code in an object usually performs some operation on its own data. This Code consists of procedures called methods.
     

  • The data inside an object is den. only the object's code may directly access the data. you can easily break this rule, as it is usual in assembly language, but you deviate from OOP regulations at your own risk. object Data can be of any type, even other objects.
     

  • To use an object, you must first create it in memory. this process is called Instantiation and the created object an instance. you can create as your instances as you need in your application, each one with its own data. when the objects are no longer needed, you can destroy them.
     

  • You can construct new objects based on existing ones. this technique is called inheritance and makes it possible to reuse a well known and proven code. using inheritance, you can write an entire application by simply modifying or enhancing some existing object members.

 

The core of objasm32 is a collection of MASM macros and procedures which implement the OOP model with a minimal overhead.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.