Senior Members
  • Content count

  • Joined

  • Last visited

Community Reputation

-14 Bad

About bimbo36

  • Rank

Recent Profile Visitors

4748 profile views
  1. What are you listening to right now?

  2. I quit smoking .

    I failed three times after that last post of mine I seriously quit this time . Because i threw up at least 5 times after my last smoke which was like an hour ago . From this day on wards ,From this time on wards , i wont touch one more nicotine related product ,Ever . R.I.P smoking habits , one more time .
  3. What are you listening to right now?

  4. Wow ,nice post and awesome article .
  5. I quit smoking .

    Dear god , I don't want to die of cancer . R.I.P smoking habits
  6. I quit smoking .

    Phi for All , itoero , tar , waitforufo Thanks a lot for the replies Yes i have to change my habits as soon as possible . I really want to start a fresh October month . Itoero , i have been drinking a mix of turmeric and buttermilk , i hope that is what its called in your place for almost 3 weeks now . Along with this mix . That should help with some detox process . I have made up my mind and I am 100% sure that i am not going to smoke not even 1 Cigarette after this September 2017 .This is surely going to be that last month of smoking . ॐ
  7. I quit smoking .

    Maybe i should do that , quit smoking and drink more tea . i will have to make that 5 times a day , three in the evening . This is the result of my blood test i took today . Looks alright so far , but if i continue this habit . It is going to get worse . Let me see what i can do from now on . OK , One last time 21 9 2017 7:23 Indian time
  8. I quit smoking .

    Well , in the evening i come back from work , i sit behind my PC and learn assembly language and every time i learn something new or make any progress i feel like taking a break with a cigarette and a tea I am not sure what else to do I somehow need to break that habit , its too dull in the evenings in these parts of India . Or else i could drink a beer everyday and break out of this habit of smoking .
  9. Please help with some SASM settings ?

    No i just got it from different places . The last two works in SASM , which is why posted here I like that IDE I am collecting examples and i want everything to work inside SASM IDE . I have only started learning Assembly like a week ago .But i am going to stick with it for the rest of my life
  10. Please help with some SASM settings ?

    If anyone is looking for more examples , these are all working examples .I thought i would share it here . Linux ASM example section .text global _start ;must be declared for linker (gcc) _start: ;tell linker entry point mov edx,len ;message length mov ecx,msg ;message to write mov ebx,1 ;file descriptor (stdout) mov eax,4 ;system call number (sys_write) int 0x80 ;call kernel mov edx,9 ;message length mov ecx,s2 ;message to write mov ebx,1 ;file descriptor (stdout) mov eax,4 ;system call number (sys_write) int 0x80 ;call kernel mov eax,1 ;system call number (sys_exit) int 0x80 ;call kernel section .data msg db 'Displaying 9 stars',0xa ;a message len equ $ - msg ;length of message s2 times 9 db '*' Hello world windows %include "" section .data msg db 'Hello, world!', 0 section .text global CMAIN CMAIN: mov ebp, esp PRINT_STRING msg NEWLINE xor eax, eax ret Hello world 2 ; windows %include "" section .text global CMAIN CMAIN: mov ebp, esp; for correct debugging ; ---------------------------------------------------------------------------- ; hello.asm ; ; This is a Win32 console program that writes "Hello, World" on one line and ; then exits. It uses only plain Win32 system calls from kernel32.dll, so it ; is very instructive to study since it does not make use of a C library. ; Because system calls from kernel32.dll are used, you need to link with ; an import library. You also have to specify the starting address yourself. ; ; Assembler: NASM ; OS: Any Win32-based OS ; Other libraries: Use gcc's import library libkernel32.a ; Assemble with "nasm -fwin32 hello.asm" ; Link with "ld -e go hello.obj -lkernel32" ; ---------------------------------------------------------------------------- global go extern _ExitProcess@4 extern _GetStdHandle@4 extern _WriteConsoleA@20 extern _ReadConsoleA@20 section .data msg: db 'Hello, World', 10 handle: dd 0 read_handle dd 0 written: db 0 section .text go: ; handle = GetStdHandle(-11) push dword -11 call _GetStdHandle@4 mov [handle], eax push -10 ; stdin call _GetStdHandle@4 mov [read_handle], eax ; WriteConsole(handle, &msg[0], 13, &written, 0) push dword 0 push written push dword 13 push msg push dword [handle] call _WriteConsoleA@20 push eax mov eax, esp ; buffer for char? push 0 push written ; reuse this? push 1 ; characters to read? push eax push dword [read_handle] call _ReadConsoleA@20 pop eax ; character read in al? ; ExitProcess(0) push dword 0 call _ExitProcess@4 xor eax, eax ret
  11. I quit smoking .

    Thanks for the replies zapatos , Phi for All After 7 in the evening until i wake up in the morning is the hardest .I have been trying to narrow it down . The rest i can easily control ॐ
  12. They don't do this in your place ? Tell them to stay on the topic please .Which is i put something like this as my Facebook cover pic