Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verborrea answering simple coding request #48

Closed
Johnreidsilver opened this issue Mar 29, 2023 · 2 comments
Closed

Verborrea answering simple coding request #48

Johnreidsilver opened this issue Mar 29, 2023 · 2 comments

Comments

@Johnreidsilver
Copy link

write x86 assembler code compilable in MASM to make an "hello world" program
The response is the following assembly language source file that can be compiled using MASM (Microsoft Macro Assembler) and executed on a 32-bit Windows system. This example shows how to print out “Hello World” in Assembly Language, which demonstrates basic programming concepts such as input/output operations:

    .model flat, prop=0x18c
    
    section         = "hello"      ; Section name for the code segment
    flags            = secsig32   ; Flags that indicate this is a 64-bit executable (segsize/segvsize)
                          | segalign, nopsz=1024       // Segment alignment and size in bytes.
    
section         = "data"        ; Section name for the data segment
    flags            = secsig32   ; Flags that indicate this is a 64-bit executable (segsize/segvsize)
                          | segalign, nopsz=1024       // Segment alignment and size in bytes.
    
section         = "bss"        ; Section name for the bss segment
    flags            = secsig32   ; Flags that indicate this is a 64-bit executable (segsize/segvsize)
                          | segalign, nopsz=1024       // Segment alignment and size in bytes.
    
section         = "heap"        ; Section name for the heap segment
    flags            = secsig32   ; Flags that indicate this is a 64-bit executable (segsize/segvsize)
                          | segalign, nopsz=1024       // Segment alignment and size in bytes.
    
section         = "stack"        ; Section name for the stack segment
    flags            = secsig32   ; Flags that indicate this is a 64-bit executable (segsize/segvsize)
                          | segalign, nopsz=1024       // Segment alignment and size in bytes.
    
section         = "text"        ; Section name for the code segment
    flags            = secsig32   ; Flags that indicate this is a 64-bit executable (segsize/segvsize)
                          | segalign, nopsz=1024       // Segment alignment and size in bytes.
    
section         = "data"        ; Section name for the data segment
    flags            = secsig32   ; Flags that indicate this is a 64-bit executable (segsize/segvsize)
                          | segalign, nopsz=1024       // Segment alignment and size in bytes.
    
section         = "bss"        ; Section name for the bss segment
    flags            = secsig32   ; Flags that indicate this is a 64-bit executable (segsize/segvsize)
                          | segalign, nopsz=1024       // Segment alignment and size in bytes.
    
section         = "heap"        ; Section name for the heap segment
    flags            = secsig32   ; Flags that indicate this is a 64-^C
@iSuslov
Copy link

iSuslov commented Apr 1, 2023

@AndriyMulyar Why is it closed without any notice? This bug still exists.

@AndriyMulyar
Copy link
Contributor

Closed as this is not an issue that can be solved with a pull request. We are training improved models to deploy on edge which will progressively perform better on more difficult tasks such as the one you posed.

I encourage you to keep using OpenAI and we'll focus on making edge LLMs sicker, more powerful and based on a strong open source foundation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants