All you need to do is make a few changes to your Settings file and some minor edits as listed here - please read all the steps before you start, because you may prefer to do some things in a different order. In general most of this needs to be done in the order listed and there is a point where you can expect errors.
Since your WP install is already in the folder /wordpress/ just log in, go to the Admin > Settings screen where you see settings for Reading, Writing, Permalinks, etc. and under the General heading, make sure the address of your main WordPress core files is shown as http://example.com/wordpress
Now, in Site address (URL): set root directory's URL. Example: http://example.com
Click Save Changes. (Do not worry about the errors that happen now! Continue reading).
Now, Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site.
Open your root directory's index.php file in a text editor
Change the following and save the file. Change the line that says:
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
to the following, using your directory name for the WordPress core files:
require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' );
Login to the new location. It may show at http://example.com/wordpress/wp-admin/
If you have set up Permalinks, go to the Permalinks Screen and update your Permalink structure. WordPress will automatically update your .htaccess file if it has the appropriate file permissions.
If WordPress can't write to your .htaccess file, it will display the new rewrite rules to you, which you should manually copy into your .htaccess file (in the same directory as the main index.php file.)
Note that these steps are available on the
WordPress "Giving WordPress Its Own Directory" Codex [codex.wordpress.org] page. I just sorted out the parts that don't apply to what you are doing.
When I mentioned reading through all the instructions, it is because I did not want this part before you could see the rest. When I mentioned some things you might prefer to do a different way, this is what I was thinking of: One of the steps is to copy the index.php file from its /wordpress/ location to your root directory and then edit it. I prefer to ftp a copy to my desktop and edit it there and then upload the new index.php to the root folder. The original stays where it is, in the /wordpress/ folder.