⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 textcode.h

📁 mini mips 小型mips软件
💻 H
字号:
#pragma once
#include <string>
#include <sstream>
#include <iomanip>
using namespace std;

struct TextCode
{
	unsigned address;
	unsigned binary;
	string asmCode;

	string GetAddress(){
		return PrintNum(address);
	}
	string GetBinary(){
		return PrintNum(binary);
	}
private:
	static string PrintNum(unsigned num){
		ostringstream os;
		os << "0x";
		os << setw(8) << setfill('0') << hex << num;
		return os.str();
	}
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -