seed only returns size for now

master
JoYo 2019-02-18 06:40:04 +00:00
parent d8e23ad786
commit d0a9a38ede
2 changed files with 6 additions and 23 deletions

View File

@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
sins_build: sins_build:
image: sins_build image: sins
build: build:
context: . context: .
volumes: volumes:
@ -9,7 +9,7 @@ services:
working_dir: /app working_dir: /app
command: yasm seed.asm -o seed command: yasm seed.asm -o seed
sins_run: sins_run:
image: sins_build image: sins
volumes: volumes:
- ${PWD}:/app - ${PWD}:/app
working_dir: /app working_dir: /app

View File

@ -4,27 +4,10 @@
nop nop
mov rbp,rsp mov rbp,rsp
nop nop
sub rsp,0x30 mov QWORD [rbp-0x8],rdi
nop
mov QWORD [rbp-0x18],rdi
nop
mov DWORD [rbp-0x1c],esi
nop
mov QWORD [rbp-0x28],rdx
nop
mov rax,QWORD [rbp-0x28]
nop
mov QWORD [rbp-0x8],rax
nop
mov ecx,DWORD [rbp-0x1c]
nop
mov rdx,QWORD [rbp-0x18]
nop nop
mov rax,QWORD [rbp-0x8] mov rax,QWORD [rbp-0x8]
nop nop
mov esi,ecx pop rbp
nop nop
mov rdi,rdx
nop
call rax
ret ret