Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
port.cpp: In member function 'unsigned char Port::InByte(short unsigned int)':
port.cpp:16: error: expected unqualified-id before string constant
port.cpp: In member function 'void Port::OutByte(short unsigned int, unsigned char)':
port.cpp:25: error: expected unqualified-id before string constant
You don't need extern "C" there in the first place: inline asm works from C++ member functions. Extern "C" is only used if you need to change the calling convention from __thiscall to __cdecl (no "this" pointer to pass).