yankeerino.com

  • Regional
    • 2000 Calorie Dodge

      Driving Delaware's Rt 202 for the Fast Food Feast

    • Autumn Skate

      Skate Club of Wilmington's Biannual Skating Event

    • Benjamin's on 10th

      The Best Delaware Cheesesteak

    • Cafe Riveria

      A Great Slice of Pizza Hidden in Concord Mall

    • Camden Aquarium

      Exploring Fishes and Hippos in Camden

    • Days of Knights

      A Fine Store for Gamers and Role Players

    • Doug's Trains

      An Outstanding Traditional Hobby Shop

    • Fairfax Hardware

      Check out Wilmington's Local Hardware Store

    • Jake's Hamburgers

      Best Delaware Hamburger

    • Jimmy John's Pipin' Hot

      Fire Can't Keep a Great Hot Dog Down

    • Kalmar Nyckel

      Details of Delaware's Own Pirate Ship

    • PA Railroad Musuem

      PRR Railroad Museum at Strasburg

    • Pufferbelly Days

      Steam on Delaware's Wilmington and Western RR

    • Seasons Pizza

      Best Delaware Pizza

    • Total Wine

      Best Delaware Liquor Store

    • Udvar-Hazy

      National Air and Space Museum Dulles

    • YoYo Joes

      Coolest Toy Store in Delaware

  • Policy
    • Afghanistan

      Selected public photos from Afghanistan

    • EconDelta

      Fix the US economy online.

    • California Budget

      State of California budget calculator.

    • Climate Change Calc

      Global warming calculator.

    • Defense Maps

      Satellites of world military hotspots.

    • Federal Budget

      Federal Budget calculator.

    • Korean Free Trade Agreement

      The South Korean Free Trade Agreement in English

    • New Jersey Budget

      State of New Jersey budget calculator.

    • Political Ideas for a Budget

      Out of the box ideas to break the annual budget impasses

    • The Problem With Justice

      Another Polemic About Why Both Liberals and Conservatives Are Wrong

  • History
    • IK Brunel's Great Eastern

      The Great Eastern in Isambard Kingdom Brunel's Own Words

    • Manhattan Then and Now

      Reflecting the Mahattan Project

    • Yankee Protectionism

      How Protectionism Won the Civil War

  • Review
    • Best-Lock Blocks Review

      Not As Good as Legos

    • Top Salisbury Steaks

      We Rank the American TV Dinner Standard

    • Sonic

      Hanging Out at Fashionable Burger Joint

    • Whiskey Reviews

      Our Favorite Sauces for the Soul

  • Fiction
    • Blighting Gently

      A gothic tale

    • Calm Inside My Mind

      A Poem on a summer night alone

    • Dancing Christina

      A Poem for a long ago country girl

    • Divers and Werewolves

      A Poem about divers and werewolves

    • Ghost of Summer's End

      A Poem about missing a summer with someone.

    • Jesus and Ford

      The Parable of Jesus and Ford

    • Kamerad

      A Poem about Hatred and Damnation

    • Little Irish Over There

      A Love poem for an Irish girl

    • Past Tense

      Bitter Divorce Poem #1

    • Phillies Goddess Poem

      Phillies Goddess World Series Prayer and Poem

    • Shaky Hands

      A Man Makes a Simple Delivery

    • Thanks BP

      A Mock Ad about BP Oil Spill

    • Two Of One You

      A Poem about unifying yourself

    • Weird Tales Unit #1

      Bringing In Miss Misto

    • Weird Tales Unit #2

      Dream for of Ms. Winston

    • Weird Tales Unit #3

      Where My Pieces Are

    • Viva La Vida

      Parody of Viva La Vida

    • For Your Kindle

      Short Stories for Your Kindle

  • Technology
    • Building the Lego UFO Abduction

      Lego Alien Conquest UFO Abduction

    • Building the Lego X-Wing

      We Show You How We Built the Lego X-Wing

    • Building the Lego Millenium Falcon

      We Built the Lego Millenium Falcon

    • Building the Proviction Power Cage

      Dick's Has It, We Built the Proviction Power Cage

    • Citizen Scientist #1

      The Point of Models in Science

    • Citizen Scientist #2

      God and the Birth of Metalworking

    • CPP vs C#, Arrays

      Benchmarking C++ vs C# on Windows

    • Direct2D Game, Part 1

      Architecture and overview of a Direct2d Game Engine

    • Direct2D Game, Part 2

      Direct2D Geometries - Paths

    • Direct2D Game, Part 3

      Direct2D Solid, Linear Gradient and Radial Gradient Brushes

    • Win32 Memory Allocation

      Memory allocation performance

    • Win64 Calling Convention

      Calling Assembly Routines From C/C++ in Windows 64 bit

    • Windows 7 Search

      Get the Most out of the Windows 7 file folder search

    • Xeon

      We Walk You Through Building a Dual Xeon Workstation

    • YASM on Windows

      Installing YASM in Visual Studio 2008

    • Ubuntu Linux 11

      Ubuntu Linux 11 Improves

  • Downloads
    • 3D Baby Typing Blocks

      Free Game Teaches Baby How To Type

    • Independent

      Free Simple Arcade Shooter

  • yankeerino.com
    • Home

      The Yankee Rino home page

    • About

      About Yankee Rino

    • Operation Freedom

      Fight hacking with free speech

Configurating YASM for Visual Studio 2008

64 Bit Assembly
Installing YASM
Solution Structure.
Assembler Options
Linker Options
Project Build

64 Bit Assembly

Whether you want to write your own programming language, or get a feel for how efficient a system is, an understanding of assembly language is useful. A great way to gain an appreciation of what a computer is actually be doing, assembly language is the ultimate in hard core, old school programming. We use YASM to do 64 bit programming, because the MASM tool that ships with Visual Studio 2008 does not work well in 64 bit land.

Installing YASM

It is fairly easy to install YASM. Download YASM from YASM Web Site. The directions for installation are also on the same site at YASM directions. We placed our yasm EXE in in C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin folder, as shown below.

Solution Structure.

This is a picture of a Visual Studio 2008 solution set up for integrated assembly language. This is a heck of a mess, compared to what KDE gives you on Linux, but it works. Visual Studio made the x64 directory for us when we selected it as a build target. You can see .asm files, for assembly language, in the root folder, along with C and C++ files.

Assembler Options

Yasm lets you select which syntax you want your assembly file to use. Right click on the asm file or the proj file, like you would for C++, to select which assembler you prefer to use. Note that you do not have to do anything special to get your assembler obj files to link. They just need to wind up in the same directory as all the C and C++ obj files. So, we tell yasm that the obj output should be "$(IntDir)\$(InputName).obj", as shown below.

Linker Options

You do not have to do anything special with the linker to link YASM generated obj files.

Project Build

Output from Yasm shows up in the Output tab of your build, just like everything else built in Visual Studio. For our brief experimentation, clicking on an error takes you to the correct line.