Author Topic: How to and not to irritate other members  (Read 1641 times)

TimoVJL

  • Member
  • **
  • Posts: 72
Re: How to and not to irritate other members
« Reply #15 on: October 08, 2018, 07:45:22 PM »
It's called The Ballmer Peak 8)
Later it happened again with other substance and result was Windows Vista.
Maybe we should call that The Ballmer Peak 2 :P
May the source be with you

daydreamer

  • Member
  • ****
  • Posts: 563
  • reach for the stars
Re: How to and not to irritate other members
« Reply #16 on: October 08, 2018, 08:38:33 PM »
:biggrin:

We know they are not serious asm programmers if they drink beer, all the guys of old were Scotch drinkers. Different places had different versions of strong spirits, Russia had Wodka, German's had Schnapps, Americans had Bourbon (if it was a good one), our friends in Italy generally drink Vino but as far as I can understand, you can get good brandy there and I know that in the Balkans you can get some fiendish Slivovitz. Folks who live in Turkey have access at some really powerful Raki so around the world there are plenty of good substitutes if you don't drink pure malt.

The trick is of course is to know exactly how much to drink, too little and your assembler will be as bad as Visual Basic, too much and you may not get any written at all but get the balance correct and you can aspire to genius.  :P
I also love whisky,but raistlin is excused because south african beer is the greatest :t
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

Raistlin

  • Member
  • ***
  • Posts: 387
Re: How to and not to irritate other members
« Reply #17 on: October 08, 2018, 08:49:54 PM »
Thanks Daydreamer - I thought so too - the beer that is  :icon_mrgreen:
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5945
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: How to and not to irritate other members
« Reply #18 on: October 09, 2018, 01:35:39 AM »
> Later it happened again with other substance and result was Windows Vista.

I think that Win version ended up being Hasta la vista, baby. This was Microsoft trying to do an Intel Itanium and landed flat on their arse.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

K_F

  • Member
  • *****
  • Posts: 1420
  • Anybody out there?
Re: How to and not to irritate other members
« Reply #19 on: October 09, 2018, 07:53:21 AM »
It's called The Ballmer Peak 8)

This is true...
A couple glasses of red aviation juice loosens the shackles of asm imagination (I get the most done during this 'peak'), and after the peak I go on to irritate people ;)
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

felipe

  • Member
  • *****
  • Posts: 1011
  • Eagles are just great!
Re: How to and not to irritate other members
« Reply #20 on: October 09, 2018, 12:25:55 PM »
10) Share & Enjoy

I like this one  :icon14:...And rum  :P
Felipe.

daydreamer

  • Member
  • ****
  • Posts: 563
  • reach for the stars
Re: How to and not to irritate other members
« Reply #21 on: October 10, 2018, 05:56:22 AM »
when we graduated from school, we had a fun Magazine with lots of fun with small poems about everyone,for example me crashed with my parents car on my 20th birthday,when I should drive Caroline to my birthday party, American/german cute girl,dark Brown Eyes,black hair,part native American
my lab partner got meantioned by his accident getting 220v thru his body that he survived
they also remade the below Picture with drunkness vs time,instead of force/stretch of material and edited the text explaining the different parts of the curve with quotes related to level of alcohol
1:party is not so fun
2:great party
3:I am soooooo drunk
4:zzzzzz
https://sv.wikipedia.org/wiki/Str%C3%A4ckgr%C3%A4ns
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

Raistlin

  • Member
  • ***
  • Posts: 387
Re: How to and not to irritate other members
« Reply #22 on: October 13, 2018, 04:00:52 AM »
So the wife (draakie) reminded me
to add this one: Always count from
zero or else you'll miss an iteration
on your loop.  :shock:
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

Siekmanski

  • Member
  • *****
  • Posts: 1709
Re: How to and not to irritate other members
« Reply #23 on: October 13, 2018, 04:50:22 AM »
So the wife (draakie) reminded me
to add this one: Always count from
zero or else you'll miss an iteration
on your loop.  :shock:

Brings back memories when I switched from the Amiga to the PC.  :biggrin:

Code: [Select]
Amiga assembly:

MOVEQ #31-1,D0 ; handle 31 samples
loop1
; do something
DBRA D0,loop1

x86 assembly:

mov eax,31 ; handle 31 samples
loop1
; do something
dec eax
jnz loop1
Creative coders use backward thinking techniques as a strategy.

Raistlin

  • Member
  • ***
  • Posts: 387
Re: How to and not to irritate other members
« Reply #24 on: October 13, 2018, 05:14:23 AM »
Nice one Siekmanski  :t
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

jj2007

  • Member
  • *****
  • Posts: 8895
  • Assembler is fun ;-)
    • MasmBasic
Re: How to and not to irritate other members
« Reply #25 on: October 13, 2018, 06:27:24 AM »
Brings back memories when I switched from the Amiga to the PC.  :biggrin:

My first experience with assembler was on the Atari ST. I vaguely remember that the 68000 had conditional calls, but I can't find them in the instruction set (pdf) :(

Siekmanski

  • Member
  • *****
  • Posts: 1709
Re: How to and not to irritate other members
« Reply #26 on: October 13, 2018, 08:10:29 AM »
Here they are.  :biggrin:

Code: [Select]
Bcc Branch on condition cc

Operation: If cc = 1 THEN [PC] ¬ [PC] + d
Syntax: Bcc <label>
Sample syntax: BEQ Loop_4
BVC *+8

Attributes: BEQ takes an 8-bit or a 16-bit offset (i.e., displacement).
Description: If the specified logical condition is met, program execution

continues at location [PC] + displacement, d. The displacement is
a two’s complement value. The value in the PC corresponds to
the current location plus two. The range of the branch is -126 to
+128 bytes with an 8-bit offset, and -32K to +32K bytes with a 16-
bit offset. A short branch to the next instruction is impossible,
since the branch code 0 indicates a long branch with a 16-bit
offset. The assembly language form BCC *+8 means branch to the
point eight bytes from the current PC if the carry bit is clear.

BCC branch on carry clear C
BCS branch on carry set C
BEQ branch on equal Z
BGE branch on greater than or equal N.V + N.V
BGT branch on greater than N.V.Z + N.V.Z
BHI branch on higher than C.Z
BLE branch on less than or equal Z + N.V + N.V
BLS branch on lower than or same C + Z
BLT branch on less than N.V + N.V
BMI branch on minus (i.e., negative) N
BNE branch on not equal Z
BPL branch on plus (i.e., positive) N
BVC branch on overflow clear V
BVS branch on overflow set V

Note that there are two types of conditional branch instruction:
The 68000's Instruction Set 11
those that branch on an unsigned condition and those that branch
on a signed condition. For example, $FF is greater than $10 when
the numbers are regarded as unsigned (i.e., 255 is greater than
16). However, if the numbers are signed, $FF is less than $10 (i.e.,
-1 is less than 16).

The signed comparisons are:

BGE branch on greater than or equal
BGT branch on greater than
BLE branch on lower than or equal
BLT branch on less than

The unsigned comparisons are:

BHS BCC branch on higher than or same
BHI branch on higher than
BLS branch on lower than or same
BLO BCS branch on less than

The official mnemonics BCC (branch on carry clear) and BCS (branch
on carry set) can be renamed as BHS (branch on higher than or
same) and BLO (branch on less than), respectively. Many 68000
assemblers support these alternative mnemonics.
Condition codes: X N Z V C

Or did you mean those,  DBEQ DBNE ....
Creative coders use backward thinking techniques as a strategy.

sinsi

  • Member
  • *****
  • Posts: 1091
Re: How to and not to irritate other members
« Reply #27 on: October 13, 2018, 08:44:01 AM »
The Z80 had a conditional call
Code: [Select]
  call z,subroutine
Also has a conditional return
Code: [Select]
  ret z
I can walk on water but stagger on beer bourbon.

jj2007

  • Member
  • *****
  • Posts: 8895
  • Assembler is fun ;-)
    • MasmBasic
Re: How to and not to irritate other members
« Reply #28 on: October 13, 2018, 12:09:34 PM »
Here they are.  :biggrin:

Code: [Select]
Bcc Branch on condition cc
...

Or did you mean those,  DBEQ DBNE ....

I saw the BCCs, but that's not what I meant. Neither the DBxx. It's over 20 years ago that I touched 68k, and it seems that my memories are incorrect: Neither BSR nor JSR have conditional variants :(

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5945
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: How to and not to irritate other members
« Reply #29 on: October 13, 2018, 12:56:54 PM »
After playing with Z80 during the 80s, I had to do a brain re-format when I started on x86 around 1990 and have walked the straight and narrow ever since. The shift from real mode DOS to early Win32 was a quantum shift but fortunately the shift to Win64 is not such a big deal, its gory details are different but at the coding level its just BIGGER.

The hardest thing I ever programmed was my HP11c calculator, manually write all the instructions on paper then very carefully enter it all in with the buttons and save it.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin: