SlideShare a Scribd company logo
1 of 39
Download to read offline
Joyful Assembly Language
Kunio Miyamoto, Ph.D.
1
Assembly language tanka
Kunio Miyamoto, Ph.D.
2
About me
Copyright by Kunio Miyamoto 3
About me
It’s a Joke 
Copyright by Kunio Miyamoto 4
What is Tanka?
• Tanka is…
• Japanese Short Poem
• 5-7-5-7-7 Style
– Number is the letters of character in each part
• Includes “Kigo(季語)”
– “Kigo” is the season word
• Rule and style
5
In Wikipedia
• Tanka (短歌 "short poem") is a genre of
classical Japanese poetry and one of the
major genres of Japanese literature
• http://en.wikipedia.org/wiki/Tanka
Copyright by Kunio Miyamoto
Example
• 東海の小島の磯の白砂に
われ泣きぬれて
蟹(かに)とたはむる(石川啄木)
• On the white sand
Of the beach of a small island
In the Eastern Sea
I, my face streaked with tears,
Am playing with a crab(Takuboku Ishikawa)
Copyright by Kunio Miyamoto
Example
• 東海の小島の磯の白砂に
われ泣きぬれて
蟹(かに)とたはむる(石川啄木)
• On the white sand
Of the beach of a small island
In the Eastern Sea
I, my face streaked with tears,
Am playing with a crab(Takuboku Ishikawa)
Copyright by Kunio Miyamoto
とうかいの
こじまのいその
しろすなに
われなきぬれて
かにとたはむる
Example
• 東海の小島の磯の白砂に
われ泣きぬれて
蟹(かに)とたはむる(石川啄木)
• On the white sand
Of the beach of a small island
In the Eastern Sea
I, my face streaked with tears,
Am playing with a crab(Takuboku Ishikawa)
Copyright by Kunio Miyamoto
Remember
This Style
What is
assembly language tanka?
• Assembler TANKA is…
• Machine Language Short Poem(!)
• 5-7-5-7-7 Style
• Includes “Kigo(季語)”
– “Kigo” is the season word
• Rhythmic
e.g.: Ends or starts same code in each part
• Executable(!)
10
Example
.section .text
.global main
.type main, @function
main:
push $0x43412054
push $0x53524946
mov %esp, %ecx
xor %ebx, %ebx
inc %ebx
mov %ebx, %eax
add %eax, %eax
add %eax, %eax
nop
mov %eax, %edx
add %edx, %edx
int $0x80
add %edx, %esp
ret
Copyright by Kunio Miyamoto
ONLY
14 Instructions!
Runs on Linux/x86
Style?
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Copyright by Kunio Miyamoto
5bytes
5bytes
7bytes
7bytes
7bytes
Style?
Copyright by Kunio Miyamoto
Remember
This Style
Season Word?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Season Word?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
“FIRST AC” Is the
Season Word
of “June”
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Same value
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Same value
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Refrain
Rhythm?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Same value
Same value
Refrain
Rhythmic!
Comparing Style
Copyright by Kunio Miyamoto
Assembly Language Tanka
Comparing Style
Copyright by Kunio Miyamoto
(Traditional) TankaAssembly Language Tanka
Comparing Style
Copyright by Kunio Miyamoto
(Traditional) TankaAssembly Language Tanka
Same
Style!
Executable?
Copyright by Kunio Miyamoto
Executable?
Copyright by Kunio Miyamoto
Of Course!
BTW
Copyright by Kunio Miyamoto 26
BTW
Copyright by Kunio Miyamoto 27
BTW
It’s a Joke 
Copyright by Kunio Miyamoto 28
Same
Style!
5 great assembly language
tankist
• Tankist = Assembly language tanka author
Copyright by Kunio Miyamoto
Copyright by Kunio Miyamoto
In other programming
language tanka?
• Shell Script(/bin/sh)
– line1: #!/bin/sh ← 9letters
Copyright by Kunio Miyamoto
In other programming
language tanka?
• Shell Script(/bin/sh)
– line1: #!/bin/sh ← 9letters
• C language
– Line1: main() ←6letter
Copyright by Kunio Miyamoto
In other programming
language tanka?
• Shell Script(/bin/sh)
– line1: #!/bin/sh ← 9letters
• C language
– Line1: main() ←6letter
Copyright by Kunio Miyamoto
Assembly language tanka is
useful?
Yes!
Learning the
• Assembly language programming
• Optimization
• Shellcode programming
etc…
Copyright by Kunio Miyamoto
Shellcode?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
Shellcode?
Copyright by Kunio Miyamoto
68 54 20 41 43
68 46 49 52 53 89 e1
31 db 43 89 d8
01 c0 01 c0 90 89 c2
01 d2 cd 80 01 d4 c3
No 0x00!
Interesting?
Copyright by Kunio Miyamoto
Interesting?
At first, write!
Copyright by Kunio Miyamoto
Copyright by Kunio Miyamoto
Thank you!
If question,
Twitter: @wakatono
Facebook: https://www.facebook.com/wakatono
Search “wakatono” by Google

More Related Content

Viewers also liked

Compresseur hp heatpump
Compresseur hp heatpumpCompresseur hp heatpump
Compresseur hp heatpumpEUROPAGES
 
2. norma dasar adminstrasi negara
2. norma dasar adminstrasi negara2. norma dasar adminstrasi negara
2. norma dasar adminstrasi negaraDian Oktavia
 
Architects Seminar Kenzo tange
Architects Seminar Kenzo tangeArchitects Seminar Kenzo tange
Architects Seminar Kenzo tangeAniruddh Jain
 
Kenzo tange and tadao ando
Kenzo tange and tadao andoKenzo tange and tadao ando
Kenzo tange and tadao andovikashsaini78
 
Kenzo Tange- Architect
Kenzo Tange- ArchitectKenzo Tange- Architect
Kenzo Tange- Architectvinod singh
 

Viewers also liked (7)

Compresseur hp heatpump
Compresseur hp heatpumpCompresseur hp heatpump
Compresseur hp heatpump
 
Daimachi
DaimachiDaimachi
Daimachi
 
2. norma dasar adminstrasi negara
2. norma dasar adminstrasi negara2. norma dasar adminstrasi negara
2. norma dasar adminstrasi negara
 
Architects Seminar Kenzo tange
Architects Seminar Kenzo tangeArchitects Seminar Kenzo tange
Architects Seminar Kenzo tange
 
Kenzo Tange
Kenzo Tange Kenzo Tange
Kenzo Tange
 
Kenzo tange and tadao ando
Kenzo tange and tadao andoKenzo tange and tadao ando
Kenzo tange and tadao ando
 
Kenzo Tange- Architect
Kenzo Tange- ArchitectKenzo Tange- Architect
Kenzo Tange- Architect
 

Recently uploaded

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Recently uploaded (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

Joyful assembly language - Assembly Language Tanka