Posts: 2380
Threads: 43
Joined: October 30, 2017
Reputation:
48
RE: Help me with my new website!
December 29, 2018 at 3:44 pm
(December 29, 2018 at 3:40 pm)FlatAssembler Wrote: By the way, here is the second program I've written in my own programming language:
Code: ;So, this is my second program in my own programming language.
AsmStart
debug=0
format PE console
entry start
include 'win32a.inc'
section '.text' code executable
start:
mov dword [esp],_output1
call [printf]
mov dword [esp+4],n
mov dword [esp],_input1
call [scanf]
AsmEnd
fib(0):=0
fib(1):=1
i:=2
While i<n+1
fib(i):=fib(i-1)+fib(i-2) ;Good idea, QBASIC! Treating Assembly arrays as functions, I would have never thought of that! It's really easy to program.
i:=i+1
EndWhile
subscript:=(i-1)*4
AsmStart
fld dword [subscript]
fistp dword [subscript]
mov ebx,[subscript]
fld dword [fib+ebx]
fstp qword [esp+4]
mov dword [esp],_output2
call [printf]
mov dword [esp],_pause
call [system]
mov dword [esp],0
call [exit]
_output1 db "Enter n (0-100): ",0
_output2 db "The n-th Fibonacci number is: %f",10,0
_input1 db "%f",0
_pause db "PAUSE",0
section '.rdata' readable writable
result dd ? ;Yes, you need to declare it to be used internally by AEC. Hope you don't mind! :-)
n dd ?
i dd ?
subscript dd ?
fib dd 100 dup(?)
section '.idata' data readable import
library msvcrt,'msvcrt.dll'
import msvcrt,printf,'printf',system,'system',exit,'exit',scanf,'scanf'
AsmEnd
I really need to stop with that now and start learning for the university!
I would love to see you in a different thread
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Help me with my new website!
January 2, 2019 at 2:27 am
Though I would be interested in hearing your thoughts whether Facebook was right to ban me when I said that, for all we know, Vukovar may be just a myth.
Posts: 9147
Threads: 83
Joined: May 22, 2013
Reputation:
46
RE: Help me with my new website!
January 2, 2019 at 7:16 am
(January 2, 2019 at 2:27 am)FlatAssembler Wrote: Though I would be interested in hearing your thoughts whether Facebook was right to ban me when I said that, for all we know, Vukovar may be just a myth.
I honestly can't believe you said that, and got that response. You must have said something much more derogatory?
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Help me with my new website!
January 3, 2019 at 4:51 am
(January 2, 2019 at 7:16 am)bennyboy Wrote: (January 2, 2019 at 2:27 am)FlatAssembler Wrote: Though I would be interested in hearing your thoughts whether Facebook was right to ban me when I said that, for all we know, Vukovar may be just a myth.
I honestly can't believe you said that, and got that response. You must have said something much more derogatory?
Well, I guess it had to do with the fact that I posted it on an anniversary of the Genocide of Vukovar.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Help me with my new website!
February 8, 2019 at 2:37 pm
I've decided to try to learn some GIMP. What do you think about the image I've posted on my homepage? Is it good enough? What more should I learn in GIMP?
Posts: 3
Threads: 0
Joined: December 17, 2017
Reputation:
10
RE: Help me with my new website!
February 11, 2019 at 1:37 pm
(February 8, 2019 at 2:37 pm)FlatAssembler Wrote: I've decided to try to learn some GIMP. What do you think about the image I've posted on my homepage? Is it good enough? What more should I learn in GIMP?
You might like script-fu or its python equivalent. It opens gimp up for scripting and all that it entails.
Posts: 3
Threads: 0
Joined: December 17, 2017
Reputation:
10
RE: Help me with my new website!
February 11, 2019 at 1:48 pm
(February 8, 2019 at 2:37 pm)FlatAssembler Wrote: I've decided to try to learn some GIMP. What do you think about the image I've posted on my homepage? Is it good enough? What more should I learn in GIMP?
If you haven't already used it, you might like script-fu(or the python version). It opens gimp up for scripting and the possibilities.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Help me with my new website!
November 22, 2019 at 8:07 am
It seems as though I am not the only one who came up with a crazy idea to make a website with dark-gray background and light-green text:
http://asmjs.org/
Posts: 2435
Threads: 21
Joined: May 5, 2017
Reputation:
26
RE: Help me with my new website!
November 22, 2019 at 9:32 am
(This post was last modified: November 22, 2019 at 9:34 am by Succubus.)
(November 22, 2019 at 8:07 am)FlatAssembler Wrote: It seems as though I am not the only one who came up with a crazy idea to make a website with dark-gray background and light-green text:
http://asmjs.org/
It's bin dun before.
Don't take shit from your kids.
It's amazing 'science' always seems to 'find' whatever it is funded for, and never the oppsite. Drich.
Posts: 2020
Threads: 133
Joined: July 26, 2017
Reputation:
5
RE: Help me with my new website!
February 9, 2020 at 8:44 am
Anyway, I got banned from 000webhost for hate speech. As I don't think what I wrote actually qualifies as hate speech, yet alone that it's fair to delete my entire website because of that, I've moved my site to GitHub Pages:
https://flatassembler.github.io/
|