The EE was working on throttle linkage inside cab of d8l dozer. Removed floor cover to access linkage and standing down inside opening. Left foot slipped causing ankle to twist. EE put on miner restrictions & given otc ibuprofen & ice. Also give crutches if needed.